Docs.rs
emath-0.24.1
emath 0.24.1
Docs.rs crate page
MIT OR Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
emilk
rerunio
Dependencies
bytemuck ^1.7.2
normal
document-features ^0.2
normal
mint ^0.5.6
normal
serde ^1
normal
Versions
75.51%
of the crate is documented
Go to latest version
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
☰
emath
0.24.1
?
Function
emath
::
vec2
source
·
[
−
]
pub const fn vec2(x:
f32
, y:
f32
) ->
Vec2
Expand description
vec2(x, y) == Vec2::new(x, y)