valence_
math
0.2.0-alpha.1+mc.1.20.1
In valence_
math::
f32
Structs
Affine2
Affine3A
Mat2
Mat3
Mat3A
Mat4
Quat
Vec2
Vec3
Vec3A
Vec4
Functions
mat2
mat3
mat3a
mat4
quat
vec2
vec3
vec3a
vec4
valence_math
::
f32
Function
vec2
Copy item path
Settings
Help
Summary
Source
pub const fn vec2(x:
f32
, y:
f32
) ->
Vec2
Expand description
Creates a 2-dimensional vector.