MCPcopy Create free account
hub / github.com/assimp/assimp / ReadQuaternion

Method ReadQuaternion

code/AssetLib/Ogre/OgreBinarySerializer.cpp:119–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119void OgreBinarySerializer::ReadQuaternion(aiQuaternion &quat) {
120 float temp[4];
121 m_reader->CopyAndAdvance(temp, sizeof(float) * 4);
122 quat.x = temp[0];
123 quat.y = temp[1];
124 quat.z = temp[2];
125 quat.w = temp[3];
126}
127
128bool OgreBinarySerializer::AtEnd() const {
129 return (m_reader->GetRemainingSize() == 0);

Callers

nothing calls this directly

Calls 1

CopyAndAdvanceMethod · 0.80

Tested by

no test coverage detected