zenilib
0.5.3.0
|
Variables | |
const float | over_three = 1.0f / 3.0f |
1/3 More... | |
const float | pi = float(acos(-1.0f)) |
pi == 3.1415926... More... | |
const float | pi_over_two = float(acos(-1.0f)) / 2.0f |
pi/23 More... | |
const float | sqrt_three = float(sqrt(3.0f)) |
sqrt(3.0f) More... | |
const float | sqrt_two = float(sqrt(2.0f)) |
sqrt(2.0f) More... | |
const float | three_pi_over_two = 3.0f * float(acos(-1.0f)) / 2.0f |
3*pi/2 More... | |
const Vector3f | vector_i (1, 0, 0) |
i == Vector3f(1, 0, 0) More... | |
const Vector3f | vector_j (0, 1, 0) |
j == Vector3f(0, 1, 0) More... | |
const Vector3f | vector_k (0, 0, 1) |
k == Vector3f(0, 0, 1) More... | |
const float Zeni::Global::over_three = 1.0f / 3.0f |
1/3
Definition at line 30 of file Vector3f.cpp.
const float Zeni::Global::pi = float(acos(-1.0f)) |
pi == 3.1415926...
Definition at line 27 of file Vector3f.cpp.
Referenced by Zeni::Quaternion::Forward_Up(), Zeni::Camera::get_fov_deg(), Zeni::Camera::get_tunneled_fov_deg(), Zeni::Vector3f::phi(), Zeni::Video_GL_Shader::rotate_scene(), Zeni::Light::set(), Zeni::Camera::set_fov_deg(), Zeni::Light::set_light_type(), Zeni::Light::set_spot_phi(), Zeni::Vector2f::theta(), Zeni::Vector3f::theta(), and Zeni::Quaternion::Vector3f_to_Vector3f().
const float Zeni::Global::pi_over_two = float(acos(-1.0f)) / 2.0f |
pi/23
Definition at line 28 of file Vector3f.cpp.
Referenced by Zeni::Vector3f::phi(), Zeni::Vector2f::theta(), and Zeni::Vector3f::theta().
const float Zeni::Global::sqrt_three = float(sqrt(3.0f)) |
sqrt(3.0f)
Definition at line 32 of file Vector3f.cpp.
const float Zeni::Global::sqrt_two = float(sqrt(2.0f)) |
sqrt(2.0f)
Definition at line 31 of file Vector3f.cpp.
const float Zeni::Global::three_pi_over_two = 3.0f * float(acos(-1.0f)) / 2.0f |
3*pi/2
Definition at line 29 of file Vector3f.cpp.
Referenced by Zeni::Vector2f::theta(), and Zeni::Vector3f::theta().
i == Vector3f(1, 0, 0)
Definition at line 53 of file Vector3f.h.
j == Vector3f(0, 1, 0)
Definition at line 54 of file Vector3f.h.
k == Vector3f(0, 0, 1)
Definition at line 55 of file Vector3f.h.