- Preparing search index...
- The search index is not available
glpower
Constructors
constructor
- new Vector(x?: number, y?: number, z?: number, w?: number): Vector
-
Parameters
-
Optional
x: number
-
Optional
y: number
-
Optional
z: number
-
Optional
w: number
Accessors
isVector
- get isVector(): boolean
-
Returns boolean
Methods
floor
- floor(): void
-
Returns void
getElm
- getElm(type?: "vec2" | "vec3" | "vec4"): number[]
-
Parameters
-
Optional
type: "vec2" | "vec3" | "vec4"
Returns number[]
length
- length(): number
-
Returns number
set
- set(x: number, y?: number, z?: number, w?: number): Vector
-
Parameters
-
x: number
-
Optional
y: number
-
Optional
z: number
-
Optional
w: number