User Tools

Site Tools


api:vec3d

vec3d

Category: Data structure

Functions


add

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

Name Type Description
object vec3d
x double
y double
z double

almostEquals

boolean vec3d.almostEquals(object, vector, epsilon)

Name Type Description
object vec3d
vector Vector3
epsilon double

dot

double vec3d.dot(object, v)

Name Type Description
object vec3d
v Vector3

cross

Vector3 vec3d.cross(object, vec)

Name Type Description
object vec3d
vec Vector3

getLength2

double vec3d.getLength2(object)

Name Type Description
object vec3d

normalize

void vec3d.normalize(object)

Name Type Description
object vec3d

distance2

double vec3d.distance2(object, v)

Name Type Description
object vec3d
v Vector3

getXY

vec2d vec3d.getXY(object)

Name Type Description
object vec3d

getXZ

vec2d vec3d.getXZ(object)

Name Type Description
object vec3d

getYZ

vec2d vec3d.getYZ(object)

Name Type Description
object vec3d
api/vec3d.txt · Last modified: 2020/08/14 17:05 (external edit)