User Tools

Site Tools


api:vec3f

vec3f

Category: Data structure

Functions


add

void vec3f.add(object, x, y, z)

Name Type Description
object vec3f
x float
y float
z float

almostEquals

boolean vec3f.almostEquals(object, vector, epsilon)

Name Type Description
object vec3f
vector Vector3
epsilon float

dot

float vec3f.dot(object, v)

Name Type Description
object vec3f
v Vector3

cross

Vector3 vec3f.cross(object, vec)

Name Type Description
object vec3f
vec Vector3

getLength2

float vec3f.getLength2(object)

Name Type Description
object vec3f

normalize

void vec3f.normalize(object)

Name Type Description
object vec3f

distance2

float vec3f.distance2(object, v)

Name Type Description
object vec3f
v Vector3

getXY

vec2f vec3f.getXY(object)

Name Type Description
object vec3f

getXZ

vec2f vec3f.getXZ(object)

Name Type Description
object vec3f

getYZ

vec2f vec3f.getYZ(object)

Name Type Description
object vec3f
api/vec3f.txt · Last modified: 2023/01/12 15:10 (external edit)