quick_maths.create_vector2d(x, y) c_vector2d
type | |
---|---|
x | float |
y | float |
z | float |
quick_maths.create_vector3d(x, y, z)
c_vector3d
type | |
---|---|
x | float |
y | float |
z | float |
quick_maths.create_vector4d(x, y, w, h)
c_vector4d
type | |
---|---|
x | float |
y | float |
w | float |
h | float |
quick_maths.create_color(r, g, b, a)
c_color
type | |
---|---|
r | float |
g | float |
b | float |
a | float |
quick_maths.vector_angles(forward)
c_vector3d
type | |
---|---|
forward | c_vector3d |
quick_maths.calculate_angle(from, to)
c_vector3d
type | |
---|---|
from | c_vector3d |
to | c_vector3d |
quick_maths.get_distance_2d(from, to)
float
type | |
---|---|
from | c_vector2d |
to | c_vector2d |
quick_maths.get_distance_3d (from, to)
float
type | |
---|---|
from | c_vector3d |
to | c_vector3d |
quick_maths.get_fov(viewangles, start, end)
float
type | |
---|---|
from | c_vector3d |
start | c_vector3d |
end | c_vector3d |