Docs.rs
nalgebra-glm-0.19.0
nalgebra-glm 0.19.0
Permalink
Docs.rs crate page
Apache-2.0
Links
Homepage
Documentation
Repository
crates.io
Source
Owners
sebcrozet
Dependencies
approx ^0.5
normal
nalgebra ^0.33
normal
num-traits ^0.2
normal
simba ^0.9
normal
Versions
100%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
nalgebra_
glm
0.19.0
Structs
DefaultAllocator
Constants
U1
U2
U3
U4
Traits
Number
RealNumber
Scalar
Functions
abs
acos
acosh
affine_inverse
all
angle
any
are_collinear
are_collinear2d
are_orthogonal
asin
asinh
atan
atan2
atanh
ceil
clamp
clamp_scalar
clamp_vec
column
comp_add
comp_max
comp_min
comp_mul
convert
convert_ref
convert_ref_unchecked
convert_unchecked
cos
cosh
cross
cross2d
degrees
determinant
diagonal2x2
diagonal2x3
diagonal2x4
diagonal3x2
diagonal3x3
diagonal3x4
diagonal4x2
diagonal4x3
diagonal4x4
distance
distance2
dot
e
epsilon
equal
equal_columns
equal_columns_eps
equal_columns_eps_vec
equal_eps
equal_eps_vec
euler
exp
exp2
faceforward
fast_normalize_dot
float_bits_to_int
float_bits_to_int_vec
float_bits_to_uint
float_bits_to_uint_vec
floor
four_over_pi
fract
golden_ratio
greater_than
greater_than_equal
half_pi
identity
infinite_perspective_rh_no
infinite_perspective_rh_zo
int_bits_to_float
int_bits_to_float_vec
inverse
inverse_transpose
inversesqrt
is_comp_null
is_normalized
is_null
l1_distance
l1_norm
l2_distance
l2_norm
left_handed
length
length2
lerp
lerp_scalar
lerp_vec
less_than
less_than_equal
ln_ln_two
ln_ten
ln_two
log
log2
look_at
look_at_lh
look_at_rh
magnitude
magnitude2
make_mat2
make_mat2x2
make_mat2x3
make_mat2x4
make_mat3
make_mat3x2
make_mat3x3
make_mat3x4
make_mat4
make_mat4x2
make_mat4x3
make_mat4x4
make_quat
make_vec1
make_vec2
make_vec3
make_vec4
mat2
mat2_to_mat3
mat2_to_mat4
mat2x2
mat2x3
mat2x4
mat3
mat3_to_mat2
mat3_to_mat4
mat3_to_quat
mat3x2
mat3x3
mat3x4
mat4
mat4_to_mat2
mat4_to_mat3
mat4x2
mat4x3
mat4x4
matrix_comp_mult
matrix_cross
matrix_cross3
max
max2
max2_scalar
max3
max3_scalar
max4
max4_scalar
min
min2
min2_scalar
min3
min3_scalar
min4
min4_scalar
mix
mix_scalar
mix_vec
modf
modf_vec
normalize
normalize_dot
not
not_equal
not_equal_columns
not_equal_columns_eps
not_equal_columns_eps_vec
not_equal_eps
not_equal_eps_vec
one
one_over_pi
one_over_root_two
one_over_two_pi
orientation
ortho
ortho_lh
ortho_lh_no
ortho_lh_zo
ortho_no
ortho_rh
ortho_rh_no
ortho_rh_zo
ortho_zo
outer_product
perspective
perspective_fov
perspective_fov_lh
perspective_fov_lh_no
perspective_fov_lh_zo
perspective_fov_no
perspective_fov_rh
perspective_fov_rh_no
perspective_fov_rh_zo
perspective_fov_zo
perspective_lh
perspective_lh_no
perspective_lh_zo
perspective_no
perspective_rh
perspective_rh_no
perspective_rh_zo
perspective_zo
pi
pick_matrix
pow
proj
proj2d
project
project_no
project_zo
quarter_pi
quat
quat_angle
quat_angle_axis
quat_axis
quat_cast
quat_conjugate
quat_cross
quat_cross_vec
quat_dot
quat_equal
quat_equal_eps
quat_euler_angles
quat_exp
quat_extract_real_component
quat_fast_mix
quat_greater_than
quat_greater_than_equal
quat_identity
quat_inv_cross_vec
quat_inverse
quat_length
quat_length2
quat_lerp
quat_less_than
quat_less_than_equal
quat_log
quat_look_at
quat_look_at_lh
quat_look_at_rh
quat_magnitude
quat_magnitude2
quat_normalize
quat_not_equal
quat_not_equal_eps
quat_pitch
quat_pow
quat_roll
quat_rotate
quat_rotate_normalized_axis
quat_rotate_vec
quat_rotate_vec3
quat_rotation
quat_short_mix
quat_slerp
quat_to_mat3
quat_to_mat4
quat_yaw
radians
reflect
reflect2d
reflect_vec
refract_vec
reversed_infinite_perspective_rh_zo
reversed_perspective_rh_zo
right_handed
root_five
root_half_pi
root_ln_four
root_pi
root_three
root_two
root_two_pi
rotate
rotate2d
rotate_normalized_axis
rotate_vec2
rotate_vec3
rotate_vec4
rotate_x
rotate_x_vec3
rotate_x_vec4
rotate_y
rotate_y_vec3
rotate_y_vec4
rotate_z
rotate_z_vec3
rotate_z_vec4
rotation
rotation2d
round
row
scale
scale2d
scale_bias
scale_bias_matrix
scaling
scaling2d
set_column
set_row
shear2d_x
shear2d_y
shear_x
shear_y
shear_z
sign
sin
sinh
slerp
smoothstep
sqrt
step
step_scalar
step_vec
tan
tanh
third
three_over_two_pi
to_quat
translate
translate2d
translation
translation2d
transpose
triangle_normal
trunc
try_convert
try_convert_ref
two_over_pi
two_over_root_pi
two_pi
two_thirds
uint_bits_to_float
uint_bits_to_float_scalar
unproject
unproject_no
unproject_zo
value_ptr
value_ptr_mut
vec1
vec1_to_vec2
vec1_to_vec3
vec1_to_vec4
vec2
vec2_to_vec1
vec2_to_vec2
vec2_to_vec3
vec2_to_vec4
vec3
vec3_to_vec1
vec3_to_vec2
vec3_to_vec3
vec3_to_vec4
vec4
vec4_to_vec1
vec4_to_vec2
vec4_to_vec3
vec4_to_vec4
zero
Type Aliases
BVec1
BVec2
BVec3
BVec4
DMat2
DMat2x2
DMat2x3
DMat2x4
DMat3
DMat3x2
DMat3x3
DMat3x4
DMat4
DMat4x2
DMat4x3
DMat4x4
DQuat
DVec1
DVec2
DVec3
DVec4
I16Vec1
I16Vec2
I16Vec3
I16Vec4
I32Vec1
I32Vec2
I32Vec3
I32Vec4
I64Vec1
I64Vec2
I64Vec3
I64Vec4
I8Vec1
I8Vec2
I8Vec3
I8Vec4
IVec1
IVec2
IVec3
IVec4
Mat2
Mat2x2
Mat2x3
Mat2x4
Mat3
Mat3x2
Mat3x3
Mat3x4
Mat4
Mat4x2
Mat4x3
Mat4x4
Qua
Quat
TMat
TMat2
TMat2x2
TMat2x3
TMat2x4
TMat3
TMat3x2
TMat3x3
TMat3x4
TMat4
TMat4x2
TMat4x3
TMat4x4
TVec
TVec1
TVec2
TVec3
TVec4
U1
U16Vec1
U16Vec2
U16Vec3
U16Vec4
U2
U3
U32Vec1
U32Vec2
U32Vec3
U32Vec4
U4
U64Vec1
U64Vec2
U64Vec3
U64Vec4
U8Vec1
U8Vec2
U8Vec3
U8Vec4
UVec1
UVec2
UVec3
UVec4
Vec1
Vec2
Vec3
Vec4
nalgebra_glm
Function
one_over_root_two
Copy item path
Settings
Help
Summary
Source
pub fn one_over_root_two<T:
RealNumber
>() -> T
Expand description
Returns
1 / sqrt(2)
.