XNACS1Lib: CSS490 Spring 2011
Ensures that the inputPrimitive is kept within bounds of the world. If inputPrimitive position is outside of the world bound, This function will determine the distances to the closes bound and force the inputPrimitive to be insde that world bound.

Namespace: XNACS1Lib
Assembly: XNACS1Lib (in XNACS1Lib.dll) Version: 1.0.0.0

Syntax

C#
public static BoundCollideStatus ClampAtWorldBound(
	XNACS1Primitive inputPrimitive
)

Parameters

inputPrimitive
Type: XNACS1Lib..::..XNACS1Primitive
The primtive to be tested

Return Value

Which of the world bound that the inputPrimitive has moved out of.

See Also