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

Method IsInfinity

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

Returns true if vector has one or more components equal to +/- infinity.

Source from the content-addressed store, hash-verified

196 /// Returns true if vector has one or more components equal to +/- infinity.
197 /// </summary>
198 bool IsInfinity() const
199 {
200 return isinf(X) || isinf(Y);
201 }
202
203 /// <summary>
204 /// Returns true if vector has one or more components equal to +/- infinity or NaN.

Callers 2

UpdateAngleMethod · 0.45
BuildMethod · 0.45

Calls 1

isinfFunction · 0.85

Tested by

no test coverage detected