MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/PhysX / _setRotY

Function _setRotY

physx/source/physxextensions/src/ExtD6Joint.cpp:602–612  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

600}
601
602void _setRotY(PxMat33& m, PxReal angle)
603{
604 m = PxMat33(PxIdentity);
605
606 const PxReal cos = cosf(angle);
607 const PxReal sin = sinf(angle);
608
609 m[0][0] = m[2][2] = cos;
610 m[0][2] = -sin;
611 m[2][0] = sin;
612}
613
614void _setRotZ(PxMat33& m, PxReal angle)
615{

Callers 2

_getRotYQuatFunction · 0.85
drawArcMethod · 0.85

Calls 1

PxMat33Class · 0.50

Tested by

no test coverage detected