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

Method isFinite

include/reactphysics3d/mathematics/Vector3.h:250–252  ·  view source on GitHub ↗

Return true if the values are not NAN OR INF

Source from the content-addressed store, hash-verified

248
249// Return true if the values are not NAN OR INF
250RP3D_FORCE_INLINE bool Vector3::isFinite() const {
251 return std::isfinite(x) && std::isfinite(y) && std::isfinite(z);
252}
253
254// Return true if the vector is the zero vector
255RP3D_FORCE_INLINE bool Vector3::isZero() const {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected