Constants.java
com.mojang.math.Constants
信息
- 全限定名:com.mojang.math.Constants
- 类型:public class
- 包:com.mojang.math
- 源码路径:src/main/java/com/mojang/math/Constants.java
- 起始行号:L3
- 职责:
TODO
字段/常量
-
PI- 类型:
float - 修饰符:
public static final - 源码定位:
L4 - 说明:
TODO
- 类型:
-
RAD_TO_DEG- 类型:
float - 修饰符:
public static final - 源码定位:
L5 - 说明:
TODO
- 类型:
-
DEG_TO_RAD- 类型:
float - 修饰符:
public static final - 源码定位:
L6 - 说明:
TODO
- 类型:
-
EPSILON- 类型:
float - 修饰符:
public static final - 源码定位:
L7 - 说明:
TODO
- 类型:
内部类/嵌套类型
- 无
构造器
- 无
方法
下面的方法块按源码顺序生成。
- 无
代码
public class Constants {
public static final float PI = (float) Math.PI;
public static final float RAD_TO_DEG = 180.0F / (float)Math.PI;
public static final float DEG_TO_RAD = (float) (Math.PI / 180.0);
public static final float EPSILON = 1.0E-6F;
}引用的其他类
- 无