User Tools

Site Tools


preview:api:vec3i

This is an old revision of the document!


vec3i

Category: Data structure

Functions


add

void vec3i.add(this, x, y, z)

Name Type Description
this vec3i
x integer
y integer
z integer

almostEquals

boolean vec3i.almostEquals(this, vector, epsilon)

Name Type Description
this vec3i
vector vec3i
epsilon integer

dot

integer vec3i.dot(this, v)

Name Type Description
this vec3i
v vec3i

cross

vec3i vec3i.cross(this, vec)

Name Type Description
this vec3i
vec vec3i

getLength2

integer vec3i.getLength2(this)

Name Type Description
this vec3i

normalize

void vec3i.normalize(this)

Name Type Description
this vec3i

distance2

integer vec3i.distance2(this, v)

Name Type Description
this vec3i
v vec3i

getXY

vec2i vec3i.getXY(this)

Name Type Description
this vec3i

getXZ

vec2i vec3i.getXZ(this)

Name Type Description
this vec3i

getYZ

vec2i vec3i.getYZ(this)

Name Type Description
this vec3i
preview/api/vec3i.1590164022.txt.gz · Last modified: 2020/05/22 12:13 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki