MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / IsNaN

Method IsNaN

Source/Engine/Core/Math/Vector2.h:190–193  ·  view source on GitHub ↗

Returns true if vector has one or more components is not a number (NaN).

Source from the content-addressed store, hash-verified

188 /// Returns true if vector has one or more components is not a number (NaN).
189 /// </summary>
190 bool IsNaN() const
191 {
192 return isnan(X) || isnan(Y);
193 }
194
195 /// <summary>
196 /// Returns true if vector has one or more components equal to +/- infinity.

Callers 3

UpdateAngleMethod · 0.45
ConvertMouseToRayMethod · 0.45
BuildMethod · 0.45

Calls 1

isnanFunction · 0.50

Tested by

no test coverage detected