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

Method AsVector4

trinity/Utilities/Vector4d.h:145–151  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

143 // The Vector4 produced by the conversion
144 // ----------------------------------------------------------------------------------
145 const Vector4 AsVector4( void ) const
146 {
147 return Vector4( static_cast<float>( x ),
148 static_cast<float>( y ),
149 static_cast<float>( z ),
150 static_cast<float>( w ) );
151 }
152
153 // ----------------------------------------------------------------------------------
154 // Description

Callers 1

BoundingSphereFromPointsFunction · 0.80

Calls 1

Vector4Class · 0.50

Tested by

no test coverage detected