Finish documentation
This commit is contained in:
parent
49473bf905
commit
31fcfd3d6b
1 changed files with 1351 additions and 8453 deletions
|
|
@ -1,9 +1,10 @@
|
|||
import { mat2d, vec2, vec3, vec4 } from 'gl-matrix';
|
||||
import { UniversalRenderingContext } from '../graphics-library/universal-rendering-context';
|
||||
|
||||
/** @internal */
|
||||
export class UniformsProvider {
|
||||
public ambientLight = vec3.fromValues(0.25, 0.15, 0.25);
|
||||
public _backgroundColor = vec4.fromValues(1, 1, 1, 1);
|
||||
public ambientLight!: vec3;
|
||||
public _backgroundColor!: vec4;
|
||||
|
||||
private scaleWorldLengthToNDC = 1;
|
||||
private transformWorldToNDC = mat2d.create();
|
||||
|
|
|
|||
Loading…
Reference in a new issue