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

Method set

physx/source/common/src/CmMatrix34.h:255–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253 // Conversion
254 //! Set matrix from quaternion
255 PX_CUDA_CALLABLE PX_FORCE_INLINE void set(const PxQuat& q)
256 {
257 m = PxMat33(q);
258 p = PxVec3(PxZero);
259 }
260
261
262 PX_CUDA_CALLABLE PX_FORCE_INLINE PxVec3& operator[](unsigned int num){return (&m.column0)[num];}

Callers 2

preallocateFunction · 0.45
getFunction · 0.45

Calls 2

PxMat33Class · 0.50
PxVec3Class · 0.50

Tested by

no test coverage detected