KSPDev Client utilities
KSPDev Client utilities
KSPDev.MathUtils
Mathf2 Class
Mathf2 Methods
Mathf2 Fields
Mathf2 Class
Gives extra methods for handling float values in the game.
Inheritance Hierarchy
System
.
Object
KSPDev.MathUtils
.
Mathf2
Namespace:
KSPDev.MathUtils
Assembly:
KSPDev_Utils.1.1 (in KSPDev_Utils.1.1.dll) Version: 1.1 for KSP v1.6+
Syntax
C#
Copy
public
static
class
Mathf2
Request Example
View Source
The
Mathf2
type exposes the following members.
Methods
Name
Description
AreSame
Tells if the two floats are the same, allowing some small error.
Top
Fields
Name
Description
Epsilon
Value which can be safely considered to be
0
.
Top
See Also
Reference
KSPDev.MathUtils Namespace
Send comments on this topic to
igor.zavoychinskiy@gmail.com