MCPcopy Create free account
hub / github.com/OGRECave/ogre-next / vec

Function vec

Tools/VRMLConverter/src/VRML2mesh.cpp:62–62  ·  view source on GitHub ↗

conversion functions:

Source from the content-addressed store, hash-verified

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

Callers 3

parseNodeFunction · 0.85
copyToSubMeshFunction · 0.85
rotMatFunction · 0.85

Calls 1

Vector3Class · 0.50

Tested by

no test coverage detected