MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / writeQuat

Method writeQuat

Engine/source/core/stream/bitStream.cpp:489–495  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

487}
488
489void BitStream::writeQuat( const QuatF& quat, U32 bitCount )
490{
491 writeSignedFloat( quat.x, bitCount );
492 writeSignedFloat( quat.y, bitCount );
493 writeSignedFloat( quat.z, bitCount );
494 writeFlag( quat.w < 0.0f );
495}
496
497void BitStream::readQuat( QuatF *outQuat, U32 bitCount )
498{

Callers 2

packUpdateMethod · 0.80
packUpdateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected