MCPcopy Create free account
hub / github.com/carbonengine/trinity / AsVector3

Method AsVector3

trinity/Utilities/Vector3d.h:118–123  ·  view source on GitHub ↗

---------------------------------------------------------------------------------- Description Conversion function to produce a Vector3 from this Vector3d Return Value: The Vector3 produced by the conversion ----------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

116 // The Vector3 produced by the conversion
117 // ----------------------------------------------------------------------------------
118 const Vector3 AsVector3( void ) const
119 {
120 return Vector3( static_cast<float>( x ),
121 static_cast<float>( y ),
122 static_cast<float>( z ) );
123 }
124
125 // ----------------------------------------------------------------------------------
126 // Description

Callers 3

UpdateOriginMethod · 0.80
UpdateGraphicsStateMethod · 0.80
UpdateSwarmMethod · 0.80

Calls 1

Vector3Class · 0.50

Tested by

no test coverage detected