Module geometry-utils/build-plane
Functions
Private buildPlane
- buildPlane(vertices: Float32Array, normal: Float32Array, uv: Float32Array, indices: Uint16Array | Uint32Array, width: number, height: number, depth: number, wSegs: number, hSegs: number, u?: number, v?: number, w?: number, uDir?: number, vDir?: number, i?: number, ii?: number): void
-
Parameters
-
vertices: Float32Array
-
normal: Float32Array
-
uv: Float32Array
-
indices: Uint16Array | Uint32Array
-
width: number
-
height: number
-
depth: number
-
wSegs: number
-
hSegs: number
-
u: number = 0
-
v: number = 1
-
w: number = 2
-
uDir: number = 1
-
vDir: number = -1
-
i: number = 0
-
ii: number = 0
Returns void