Difference between revisions of "Equals"

From King Arthur's Gold Wiki
Jump to: navigation, search
 
Line 2: Line 2:
 
Returns true if the two given floats are equal, otherwise false.
 
Returns true if the two given floats are equal, otherwise false.
 
</onlyinclude>
 
</onlyinclude>
 +
 +
This method is part of the Maths namespace so you need to prefix calls to it with 'Maths::'.
 
<syntaxhighlight lang="cpp">
 
<syntaxhighlight lang="cpp">
 
bool Maths::Equals(float a, float b)
 
bool Maths::Equals(float a, float b)

Latest revision as of 22:24, 6 September 2012

Returns true if the two given floats are equal, otherwise false.


This method is part of the Maths namespace so you need to prefix calls to it with 'Maths::'.

bool Maths::Equals(float a, float b)