Skip to content

Use XML documentation comments #60

@Happypig375

Description

@Happypig375

Right now the comments look like this:

        /// Solves the position of a mover that satisfies the given collision planes.
        /// @param targetDelta the desired movement from the position used to generate the collision planes
        /// @param planes the collision planes
        /// @param count the number of collision planes
        public static B2PlaneSolverResult b2SolvePlanes(B2Vec2 targetDelta, Span<B2CollisionPlane> planes, int count)

This is not C#'s way of expressing code documentation, and they are not recognized by tooling like code editors.
They should be ported as XML documentation instead:

        /// <summary>Solves the position of a mover that satisfies the given collision planes.</summary>
        /// <param name="targetDelta">the desired movement from the position used to generate the collision planes</param>
        /// <param name="planes">the collision planes</param>
        /// <param name="count">the number of collision planes</param>
        public static B2PlaneSolverResult b2SolvePlanes(B2Vec2 targetDelta, Span<B2CollisionPlane> planes, int count)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions