Module: Utils
Contains a subset of useful functionality.
Source:
utils/common.js
,
line 2
Home
Modules
Cookie
Session
Utils
Classes
Agent
AgentManager
AgentSprite
Angle
ArriveBehaviour
AudioHandler
Ball
BasicMaterial
Behaviour
BehaviourManager
Body
BodySprite
Bound
BoundingBox
BoundingCircle
Box
Broadphase
BufferGeometry
CamController
Circle
CircleGeometry
Clock
Composite
Constraint
DOMEventHandler
DistanceConstraint
Entity
EulerSolver
EvadeBehaviour
EventDispatcher
Flock
Geometry
Grid
Group
Input
Keyboard
Line
Manager
Matrix2
Mouse
Movable
NaiveBroadphase
Node
Particle
ParticleSystemSprite
PathFollowing
Pool
Pursuit
Rectangle
Renderer
Renderer2D
RungeKuttaSolver
SATNarrowPhase
SeekBehaviour
Sfx
Shape
SpringConstraint
Sprite
SpriteMaterial
StaticImageMaterial
Touch
Transform
Tree
Triangle
Trigon
Vector2
VectorPool
VerletSolver
WanderBehaviour
WebGLRenderer
WebGPURenderer
World
Interfaces
Component
Material
System
Global
BodyType
ContactSolver
DEVICE
Err
Events
FrictionSolver
ImpulseSolver
ObjType
Overlaps
PenetrationSolver
SAT
ShapeType
Storage
arc
circle
clamp
createEntity
createManager
defaultCollisionHandler
defaultPrecollisionHandler
degToRad
drawImage
exp
fill
fillText
lerp
line
map
naturalizePair
radToDeg
rand
rect
round
sq
sqrt
stroke
vertices