MCPcopy Create free account
hub / github.com/NazaraEngine/NazaraEngine / GetScale

Method GetScale

src/Nazara/Utility/Node.cpp:191–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189 }
190
191 Vector3f Node::GetScale(CoordSys coordSys) const
192 {
193 switch (coordSys)
194 {
195 case CoordSys_Global:
196 if (!m_derivedUpdated)
197 UpdateDerived();
198
199 return m_derivedScale;
200
201 case CoordSys_Local:
202 return m_scale;
203 }
204
205 NazaraError("Coordinate system out of enum (0x" + String::Number(coordSys, 16) + ')');
206 return Vector3f();
207 }
208
209 const Matrix4f& Node::GetTransformMatrix() const
210 {

Callers 8

SetScaleMethod · 0.45
SetTransformMatrixMethod · 0.45
GenerateMethod · 0.45
GenerateCubicSphereFunction · 0.45
GenerateUvSphereFunction · 0.45
TransformVerticesFunction · 0.45
LoadFunction · 0.45
LoadFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected