Classes
- Animation
- Bezier
- Buffer
- CanvasRenderer
- Clip
- Collider
- Color
- Context
- ConvexHull
- Cubemap
- Delaunay
- Face
- FrameBuffer
- Gyro
- Matrix2D
- Matrix33
- Matrix44
- PerlinNoise
- PerlinTexture
- ProjectionMatrix
- Quaternion
- Ray
- Renderer
- Shader
- Spline
- SpriteSheet
- Texture
- TextureGenerator
- Trackball
- Transform
- Transform2d
- Triangle
- V2
- V3
- VRApp
- VRPost
Namespaces
Members
(static) EPSILON
Properties:
Name | Type | Description |
---|---|---|
EPSILON |
a very small number, used to prevent rounding errors |
(static) flipMatrix
Setting this value to true will use the old matrix calculation. Best to keep it false, but for now it's true by default for backwards compatibility.
(static) fullScreenQuad
Properties:
Name | Type | Description |
---|---|---|
fullScreenQuad |
placeholder that holds a fullscreen geometry for post effects. Lazily created in PostEffect.js Typically not set manually. |
(static) gl
Properties:
Name | Type | Description |
---|---|---|
gl |
Placeholder that holds current gl context. This is set in SQR.Context.create(), but can be modified manually too |
(static) HALFPI
Properties:
Name | Type | Description |
---|---|---|
TWOPI |
shorthand for |
(static) shaderPath
Properties:
Name | Type | Description |
---|---|---|
shaderPath |
a path relative to the main HTML file where the src/glsl folder is located. Only necessary to if builtin shader code is loaded (using ~ paths). |
(static) TWOPI
Properties:
Name | Type | Description |
---|---|---|
TWOPI |
shorthand for |