| 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 | { |
no outgoing calls
no test coverage detected