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

Function _setRotZ

physx/source/physxextensions/src/ExtD6Joint.cpp:614–624  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

612}
613
614void _setRotZ(PxMat33& m, PxReal angle)
615{
616 m = PxMat33(PxIdentity);
617
618 const PxReal cos = cosf(angle);
619 const PxReal sin = sinf(angle);
620
621 m[0][0] = m[1][1] = cos;
622 m[0][1] = sin;
623 m[1][0] = -sin;
624}
625
626PxQuat _getRotYQuat(float angle)
627{

Callers 2

_getRotZQuatFunction · 0.85
drawArcMethod · 0.85

Calls 1

PxMat33Class · 0.50

Tested by

no test coverage detected