conversion functions:
| 60 | |
| 61 | // conversion functions: |
| 62 | inline Vector3 vec(const vrmllib::vec3 &v) { return Vector3(v.x, v.y, v.z); } |
| 63 | inline ColourValue col(const vrmllib::col3 &c) { return ColourValue(c.r, c.g, c.b); } |
| 64 | inline void copyVec(Real *d, const Vector3 &s) { d[0] = s.x; d[1] = s.y; d[2] = s.z; } |
| 65 | inline void copyVec(Real *d, const vec2 &s) { d[0] = s.x; d[1] = s.y; } |
no test coverage detected