C# Class Universe.Physics.ConvexDecompositionDotNet.SplitPlane

显示文件 Open project: Virtual-Universe/Virtual-Universe Class Usage Examples

Public Methods

Method Description
computeSplitPlane ( List vertices, List indices, float4 &plane ) : bool
splitRect ( int axis, Rect3d source, Rect3d b1, Rect3d b2, float midpoint ) : void

Private Methods

Method Description
computePlane ( float A, float B, float C, float4 plane ) : void

Method Details

computeSplitPlane() public static method

public static computeSplitPlane ( List vertices, List indices, float4 &plane ) : bool
vertices List
indices List
plane float4
return bool

splitRect() public static method

public static splitRect ( int axis, Rect3d source, Rect3d b1, Rect3d b2, float midpoint ) : void
axis int
source Rect3d
b1 Rect3d
b2 Rect3d
midpoint float
return void