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

Method ToGlobalPosition

src/Nazara/Utility/Node.cpp:572–578  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

570 }
571
572 Vector3f Node::ToGlobalPosition(const Vector3f& localPosition) const
573 {
574 if (!m_derivedUpdated)
575 UpdateDerived();
576
577 return m_derivedPosition + (m_derivedScale * (m_derivedRotation * localPosition));
578 }
579
580 Quaternionf Node::ToGlobalRotation(const Quaternionf& localRotation) const
581 {

Callers 1

UpdateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected