• Articles
  • Api Documentation
Show / Hide Table of Contents
  • net.abi.abisEngine.components
    • Camera
    • DirectionalLight
    • FreeLook
    • FreeMove
    • Light
    • LockView
    • MeshRenderer
    • PointLight
    • SceneComponent
    • SpotLight
  • net.abi.abisEngine.core
    • CoreEngine
    • Main
    • Time
  • net.abi.abisEngine.entities
    • Entity
    • EntityI
  • net.abi.abisEngine.handlers.file
    • FileHandler
    • PathHandle
    • PathResolveI
    • PathType
  • net.abi.abisEngine.handlers.logging
    • Logger
    • LogLevel
    • LogManager
  • net.abi.abisEngine.input
    • GLFWInput
    • GLFWMouseAndKeyboardInput
  • net.abi.abisEngine.math
    • Math
    • Matrix
    • Matrix4f
    • Quaternion
    • Transform
    • Vector2f
    • Vector2i
    • Vector3f
    • Vector3i
    • Vector4f
    • Vector4fI
  • net.abi.abisEngine.rendering.asset
    • AssetClassifier
    • AssetContainer
    • AssetI
    • AssetLoaderParameters
    • AssetLoaderParameters.LoadedCallback
    • AssetLoadTask
    • AssetManager
    • AssetStore
    • TaskCompleteHandler
  • net.abi.abisEngine.rendering.asset.loaders
    • AssetLoader
    • AsyncAssetLoader
    • ModelSceneLoader
    • ModelSceneLoader.Parameter
    • SyncAssetLoader
  • net.abi.abisEngine.rendering.image
    • AEImage
    • ImageMetaData
    • PixelMap
  • net.abi.abisEngine.rendering.material
    • Material
  • net.abi.abisEngine.rendering.mesh
    • AIMeshLoader
    • Mesh
    • MeshResource
    • Model
    • ModelScene
    • Vertex
  • net.abi.abisEngine.rendering.pipeline
    • RenderingEngine
  • net.abi.abisEngine.rendering.scene
    • Scene
    • SceneManager
  • net.abi.abisEngine.rendering.scene.scenes
    • EngineSplashScreen
  • net.abi.abisEngine.rendering.shader
    • AEShader
    • AEShader.AEShaderType
    • AEShaderResource
    • ForwardAmbientShader
    • ForwardDirectionalShader
    • ForwardPointShader
    • ForwardSpotShader
    • GLSLLayoutQualifier
    • GLSLUniform
    • GLSLUniformBlockObject
    • GLSLUniformBlockObjectData
    • Shader
    • Shader.ShaderSource
    • Shader.ShaderType
    • ShaderResource
    • WireFrameShader
  • net.abi.abisEngine.rendering.shader.compiler
    • AEGLInfo
    • AEShaderCompiler
    • AEShaderCompiler.GLSLStruct
    • AEShaderCompiler.ShaderData
    • AEShaderCompiler.ShaderSource
    • Tokens
    • Tokens.Keywords
    • Tokens.Operators
    • Tokens.Qualifiers
  • net.abi.abisEngine.rendering.shader.loader
    • AEShaderLoader
  • net.abi.abisEngine.rendering.shader.parser
    • AEShaderParserYAML
  • net.abi.abisEngine.rendering.shader.parser.fileTypes.yaml
    • AEDemoProperty
    • AEPrepProperty
    • AEShaderFileYAML
    • AEShaderGLSLProgram
    • AEShaderPass
  • net.abi.abisEngine.rendering.texture
    • Texture
    • Texture.TextureData
    • TextureResource
  • net.abi.abisEngine.rendering.window
    • GLFWWindow
    • GLFWWindow.AnimatedCursor
    • GLFWWindow.CursorI
    • GLFWWindow.GLFWWindowProperties
    • GLFWWindow.StaticCursor
    • GLFWWindow.StaticCursorResource
    • GLFWWindowManager
    • GLFWWindowManager.GLFWWindowContext
  • net.abi.abisEngine.rendering.window.models
    • EngineLoader
  • net.abi.abisEngine.util
    • Attenuation
    • Color
    • Expendable
    • IOUtil
    • MappedValues
    • ThreadUtils
    • Util
  • net.abi.abisEngine.util.async
    • Async
    • AsyncResult
    • AsyncTask
    • AsyncThreadDispatcher
  • net.abi.abisEngine.util.cacheing
    • GenericCache
    • GenericCacheI
    • TwoFactorGenericCache
    • TwoFactorGenericCacheI
  • net.abi.abisEngine.util.exceptions
    • AECursorInitializationException
    • AEException
    • AEGLFWWindowInitializationException
    • AEImageManipulationException
    • AEIOException
    • AERuntimeException
    • AEShaderCompilerRuntimeException
  • tests.renderTest
    • Start
  • tests.renderTest.entitys
    • FlatPlane
    • MonkeyHead
  • tests.renderTest.materials
    • BricksOne
    • BricksTwo
  • tests.renderTest.scenes
    • MainMenu
    • TestGame
  • tests.renderTest.windows
    • MainGame

Class Math

Inheritance
java.lang.Object
Math
Syntax
public class Math

Fields

PI

Declaration
public static final double PI= java.lang.Math.PI
Field Value
Type Description
final double

Methods

abs(double r)

Declaration
public static double abs(double r)
Parameters
Type Name Description
double r
Returns
Type Description
double

abs(float r)

Declaration
public static float abs(float r)
Parameters
Type Name Description
float r
Returns
Type Description
float

abs(int r)

Declaration
public static int abs(int r)
Parameters
Type Name Description
int r
Returns
Type Description
int

acos(double r)

Declaration
public static double acos(double r)
Parameters
Type Name Description
double r
Returns
Type Description
double

asin(double r)

Declaration
public static double asin(double r)
Parameters
Type Name Description
double r
Returns
Type Description
double

atan2(double y, double x)

Declaration
public static double atan2(double y, double x)
Parameters
Type Name Description
double y
double x
Returns
Type Description
double

ceil(double v)

Declaration
public static double ceil(double v)
Parameters
Type Name Description
double v
Returns
Type Description
double

ceil(float v)

Declaration
public static float ceil(float v)
Parameters
Type Name Description
float v
Returns
Type Description
float

cos(double rad)

Declaration
public static double cos(double rad)
Parameters
Type Name Description
double rad
Returns
Type Description
double

cosFromSin(double sin, double angle)

Declaration
public static double cosFromSin(double sin, double angle)
Parameters
Type Name Description
double sin
double angle
Returns
Type Description
double

exp(double a)

Declaration
public static double exp(double a)
Parameters
Type Name Description
double a
Returns
Type Description
double

floor(double v)

Declaration
public static double floor(double v)
Parameters
Type Name Description
double v
Returns
Type Description
double

floor(float v)

Declaration
public static float floor(float v)
Parameters
Type Name Description
float v
Returns
Type Description
float

isFinite(double d)

Declaration
public static boolean isFinite(double d)
Parameters
Type Name Description
double d
Returns
Type Description
boolean

isFinite(float f)

Declaration
public static boolean isFinite(float f)
Parameters
Type Name Description
float f
Returns
Type Description
boolean

max(double a, double b)

Declaration
public static double max(double a, double b)
Parameters
Type Name Description
double a
double b
Returns
Type Description
double

max(float a, float b)

Declaration
public static float max(float a, float b)
Parameters
Type Name Description
float a
float b
Returns
Type Description
float

max(int x, int y)

Declaration
public static int max(int x, int y)
Parameters
Type Name Description
int x
int y
Returns
Type Description
int

min(double a, double b)

Declaration
public static double min(double a, double b)
Parameters
Type Name Description
double a
double b
Returns
Type Description
double

min(float a, float b)

Declaration
public static float min(float a, float b)
Parameters
Type Name Description
float a
float b
Returns
Type Description
float

min(int x, int y)

Declaration
public static int min(int x, int y)
Parameters
Type Name Description
int x
int y
Returns
Type Description
int

round(double v)

Declaration
public static long round(double v)
Parameters
Type Name Description
double v
Returns
Type Description
long

round(float v)

Declaration
public static int round(float v)
Parameters
Type Name Description
float v
Returns
Type Description
int

sin(double rad)

Declaration
public static double sin(double rad)
Parameters
Type Name Description
double rad
Returns
Type Description
double

sqrt(double r)

Declaration
public static double sqrt(double r)
Parameters
Type Name Description
double r
Returns
Type Description
double

tan(double r)

Declaration
public static double tan(double r)
Parameters
Type Name Description
double r
Returns
Type Description
double

toDegrees(double angles)

Declaration
public static double toDegrees(double angles)
Parameters
Type Name Description
double angles
Returns
Type Description
double

toRadians(double angles)

Declaration
public static double toRadians(double angles)
Parameters
Type Name Description
double angles
Returns
Type Description
double
Back to top Generated by DocFX