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

Method scale

physx/source/common/src/CmSpatialVector.h:127–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125 }
126
127 PX_CUDA_CALLABLE PX_FORCE_INLINE Cm::SpatialVector scale(PxReal l, PxReal a) const
128 {
129 return Cm::SpatialVector(linear*l, angular*a);
130 }
131
132 PxVec3 linear;
133 PxReal pad0;

Callers 2

getImpulseResponseFunction · 0.45
getImpulseResponseFunction · 0.45

Calls 1

SpatialVectorClass · 0.70

Tested by

no test coverage detected