C# Class idTech4.Geometry.idTraceModel

显示文件 Open project: iainmckay/idtech4.net Class Usage Examples

Public Methods

Method Description
GetMassProperties ( float density, float &mass, Vector3 &centerOfMass, Matrix &inertiaTensor ) : void

Cylinder approximation.

Bone.

idTraceModel ( ) : System
idTraceModel ( idBounds boxBounds ) : System

Axial bounding box.

Private Methods

Method Description
AllocateTraceModel ( idTraceModel traceModel ) : int
GenerateEdgeNormals ( ) : int
GetTraceModelHashKey ( idTraceModel traceModel ) : int
InitBox ( ) : void
SetupBox ( idBounds bounds ) : void

Method Details

GetMassProperties() public method

Cylinder approximation. Bone.
public GetMassProperties ( float density, float &mass, Vector3 &centerOfMass, Matrix &inertiaTensor ) : void
density float
mass float
centerOfMass Vector3
inertiaTensor Matrix
return void

idTraceModel() public method

public idTraceModel ( ) : System
return System

idTraceModel() public method

Axial bounding box.
public idTraceModel ( idBounds boxBounds ) : System
boxBounds idBounds
return System