Click or drag to resize

Mathf2 Class

Gives extra methods for handling float values in the game.
Inheritance Hierarchy
SystemObject
  KSPDev.MathUtilsMathf2

Namespace:  KSPDev.MathUtils
Assembly:  KSPDev_Utils.1.1 (in KSPDev_Utils.1.1.dll) Version: 1.1 for KSP v1.6+
Syntax
C#
public static class Mathf2
Request Example View Source

The Mathf2 type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAreSame
Tells if the two floats are the same, allowing some small error.
Top
Fields
  NameDescription
Public fieldStatic memberEpsilon
Value which can be safely considered to be 0.
Top
See Also