MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / zero

Method zero

include/reactphysics3d/mathematics/Vector3.h:391–393  ·  view source on GitHub ↗

Return the zero vector

Source from the content-addressed store, hash-verified

389
390// Return the zero vector
391RP3D_FORCE_INLINE Vector3 Vector3::zero() {
392 return Vector3(0, 0, 0);
393}
394
395// Function to test if two vectors are (almost) equal
396RP3D_FORCE_INLINE bool Vector3::approxEqual(const Vector3& vec1, const Vector3& vec2, decimal epsilon) {

Callers

nothing calls this directly

Calls 1

Vector3Class · 0.70

Tested by

no test coverage detected