V7
Make a Game
Home
My Games
How-To
WELCOME
Get Started
Videos
Core
Entities
Scripting
Build Mode
Play Mode
Assets
Scenes
Mirrored Multiplayer
Scripting
Entity
Animation
Scripting
AnimComponent
Graphics
Scripting
CameraComponent
LightComponent
RenderComponent
SpriteComponent
ParticleSystemComponent
GSplatComponent
Physics
Scripting
CollisionComponent
RigidBodyComponent
Script
Scripting
ScriptComponent
Audio
Scripting
AudioListenerComponent
SoundComponent
UI
Scripting
ElementComponent
ButtonComponent
ScreenComponent
ScrollViewComponent
ScrollbarComponent
LayoutGroupComponent
LayoutChildComponent
Blog
Make a Game
How To
Mirror Engine API
Mirror Engine API
/ math
math
Math API.
Variables
DEG_TO_RAD
RAD_TO_DEG
Functions
bytesToInt24
bytesToInt32
clamp
intToBytes24
intToBytes32
lerp
lerpAngle
nearestPowerOfTwo
nextPowerOfTwo
powerOfTwo
random
roundUp
smootherstep
smoothstep