ConvexConvexVertex

Package: Libraries.Game.Collision.Narrowphase · Inherits from: Libraries.Language.Object

This class stores the values that will be used by the class ConvexConvexFace. This class contains a vertex of a simplex (you can think of a simplex as an umbrella term for a point, a line, a triangle, or a tetrahedron) and a vector that is pointing toward the origin from the face that the current ConvexConvexVertex is a part of.

Actions

GetRay()

This action returns a vector that is pointing toward the origin.

Returns

Libraries.Compute.Vector3

GetVertex()

This action returns where the vertex is.

Returns

Libraries.Compute.Vector3

Set(Libraries.Game.Collision.Narrowphase.ConvexConvexVertex convexConvexVertex)

This action sets this ConvexConvexVertex with another ConvexConvexVertex.

Parameters

SetRay(Libraries.Compute.Vector3 ray)

This action sets a vector that is pointing toward the origin.

Parameters

SetVertex(Libraries.Compute.Vector3 vertex)

This action sets where the vertex is.

Parameters

Inherited Actions

3 actions from Libraries.Language.Object