MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / VPathNode

Method VPathNode

Engine/source/Verve/VPath/VPathNode.cpp:36–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34//-----------------------------------------------------------------------------
35
36VPathNode::VPathNode( void ) :
37 mPath( NULL ),
38 mLocalPosition( Point3F( 0.f, 0.f, 0.f ) ),
39 mLocalRotation( QuatF( 0.f, 0.f, 0.f, 1.f ) ),
40 mWorldPosition( Point3F( 0.f, 0.f, 0.f ) ),
41 mWorldRotation( QuatF( 0.f, 0.f, 0.f, 1.f ) ),
42 mWeight( 10.f ),
43 mLength( 0.f )
44{
45 // Init.
46 mOrientationMode.Type = k_OrientationFree;
47 mOrientationMode.Point = Point3F::Zero;
48
49 // Set the initial mask.
50 mNetState.setMaskBits( k_StateInit );
51
52 VECTOR_SET_ASSOCIATION( mNetState );
53}
54
55VPathNode::~VPathNode( void )
56{

Callers

nothing calls this directly

Calls 3

Point3FClass · 0.50
QuatFClass · 0.50
setMaskBitsMethod · 0.45

Tested by

no test coverage detected