Home Reference Source
import TypedArrayWrapper from 'glboost/src/low_level/misc/TypedArrayWrapper.js'
public class | source

TypedArrayWrapper

TypedArrayWrapper

Constructor Summary

Public Constructor
public

constructor(typedArray: TypedArray, componentN: number)

Member Summary

Public Members
public get
public get
public get

raw: *

Private Members
private
private

__typedArray: TypedArray

Method Summary

Public Methods
public
public
public
public
public
public
public
public
public
public
public

Public Constructors

public constructor(typedArray: TypedArray, componentN: number) source

Params:

NameTypeAttributeDescription
typedArray TypedArray
componentN number

Public Members

public get componentN: * source

public get elementN: * source

public get raw: * source

Private Members

private __componentN: number source

private __typedArray: TypedArray source

Public Methods

public a_at(i: number): number source

Params:

NameTypeAttributeDescription
i number

Return:

number

public b_at(i: number): number source

Params:

NameTypeAttributeDescription
i number

Return:

number

public g_at(i: number): number source

Params:

NameTypeAttributeDescription
i number

Return:

number

public getVector2At(i: number): Vector2 source

Params:

NameTypeAttributeDescription
i number

Return:

Vector2

public getVector3At(i: number): Vector3 source

Params:

NameTypeAttributeDescription
i number

Return:

Vector3

public getVector4At(i: number): Vector4 source

Params:

NameTypeAttributeDescription
i number

Return:

Vector4

public r_at(i: number): number source

Params:

NameTypeAttributeDescription
i number

Return:

number

public w_at(i: number): number source

Params:

NameTypeAttributeDescription
i number

Return:

number

public x_at(i: number): number source

Params:

NameTypeAttributeDescription
i number

Return:

number

public x_at(i: number): number source

Params:

NameTypeAttributeDescription
i number

Return:

number

public y_at(i: number): number source

Params:

NameTypeAttributeDescription
i number

Return:

number