Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

VRageMath.MathHelperD

Malware edited this page Dec 25, 2018 · 40 revisions

Index

MathHelperD Class

public abstract sealed class MathHelperD: 

Namespace: VRageMath
Assembly: VRage.Math.dll

Example

Remarks

Fields

Member Description
E Represents the mathematical constant e.
Pi Represents the value of pi.
TwoPi Represents the value of pi times two.
FourPi Represents the value of pi times four.
PiOver2 Represents the value of pi divided by two.
PiOver4 Represents the value of pi divided by four.

Methods

Member Description
ToRadians(double) Converts degrees to radians.
ToDegrees(double) Converts radians to degrees.
Distance(double, double) Calculates the absolute value of the difference of two values.
Min(double, double) Returns the lesser of two values.
Max(double, double) Returns the greater of two values.
Clamp(double, double, double) Restricts a value to be within a specified range. Reference page contains links to related code samples.
MonotonicAcos(float)
Clone this wiki locally