vec3

Undocumented in source.

Constructors

this
this()

Undocumented in source.

this
this(float a, float b, float c)

Undocumented in source.

this
this(vec3 input)

Undocumented in source.

Alias This

values

Members

Functions

angleBetween
float angleBetween(vec3 other)

Undocumented in source. Be warned that the author may not have intended to support it.

cross
vec3 cross(vec3 v)

Undocumented in source. Be warned that the author may not have intended to support it.

distanceBetween
float distanceBetween(vec3 other)

Undocumented in source. Be warned that the author may not have intended to support it.

dot
float dot(vec3 other)

Undocumented in source. Be warned that the author may not have intended to support it.

interpolate
vec3 interpolate(float amount, vec3 other)

Undocumented in source. Be warned that the author may not have intended to support it.

length
float length()

Undocumented in source. Be warned that the author may not have intended to support it.

normalize
vec3 normalize()

Undocumented in source. Be warned that the author may not have intended to support it.

opBinary
vec3 opBinary(float val)

Undocumented in source. Be warned that the author may not have intended to support it.

opBinary
vec3 opBinary(vec3 val)

Undocumented in source. Be warned that the author may not have intended to support it.

opBinaryRight
vec3 opBinaryRight(float val)

Undocumented in source. Be warned that the author may not have intended to support it.

opEquals
bool opEquals(Object o)

Undocumented in source. Be warned that the author may not have intended to support it.

rotateAround
vec3 rotateAround(vec3 axis, float theta)

Undocumented in source. Be warned that the author may not have intended to support it.

toHash
size_t toHash()

Undocumented in source. Be warned that the author may not have intended to support it.

toNiceString
string toNiceString(int chars)

Undocumented in source. Be warned that the author may not have intended to support it.

toString
string toString()

Undocumented in source. Be warned that the author may not have intended to support it.

Properties

q
float q [@property getter]

Undocumented in source. Be warned that the author may not have intended to support it.

q
float q [@property setter]

Undocumented in source. Be warned that the author may not have intended to support it.

u
float u [@property getter]

Undocumented in source. Be warned that the author may not have intended to support it.

u
float u [@property setter]

Undocumented in source. Be warned that the author may not have intended to support it.

v
float v [@property getter]

Undocumented in source. Be warned that the author may not have intended to support it.

v
float v [@property setter]

Undocumented in source. Be warned that the author may not have intended to support it.

x
float x [@property getter]

Undocumented in source. Be warned that the author may not have intended to support it.

x
float x [@property setter]

Undocumented in source. Be warned that the author may not have intended to support it.

y
float y [@property getter]

Undocumented in source. Be warned that the author may not have intended to support it.

y
float y [@property setter]

Undocumented in source. Be warned that the author may not have intended to support it.

z
float z [@property getter]

Undocumented in source. Be warned that the author may not have intended to support it.

z
float z [@property setter]

Undocumented in source. Be warned that the author may not have intended to support it.

Variables

values
float* values;

Undocumented in source.

Meta