| 145 | } |
| 146 | |
| 147 | Vector3f Node::GetPosition(CoordSys coordSys) const |
| 148 | { |
| 149 | switch (coordSys) |
| 150 | { |
| 151 | case CoordSys_Global: |
| 152 | if (!m_derivedUpdated) |
| 153 | UpdateDerived(); |
| 154 | |
| 155 | return m_derivedPosition; |
| 156 | |
| 157 | case CoordSys_Local: |
| 158 | return m_position; |
| 159 | } |
| 160 | |
| 161 | NazaraError("Coordinate system out of enum (0x" + String::Number(coordSys, 16) + ')'); |
| 162 | return Vector3f(); |
| 163 | } |
| 164 | |
| 165 | Vector3f Node::GetRight() const |
| 166 | { |
no outgoing calls
no test coverage detected