Interface ISupportMappable
Describes a convex shape by returning its furthest point in any given direction.
public interface ISupportMappable
Remarks
All points and directions use the shape's local coordinate system.
Methods
GetCenter(out JVector)
Returns a point inside the shape. It does not need to be the center of mass.
void GetCenter(out JVector point)
Parameters
pointJVectorAn interior point in local space.
SupportMap(in JVector, out JVector)
Computes the point on the shape that is furthest in the specified direction.
void SupportMap(in JVector direction, out JVector result)