Docs.rs
cgmath-0.15.0
cgmath 0.15.0
Docs.rs crate page
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
csherratt
tomaka
kvark
ozkriff
brendanzab
aloucks
emberian
Dependencies
approx ^0.1
normal
mint ^0.4.1
normal
num-traits ^0.1
normal
rand ^0.3
normal
serde ^1.0
normal
simd ^0.2
normal
glium ^0.16
dev
serde_json ^1.0
dev
Versions
100%
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
☰
In cgmath
?
Function
cgmath
::
vec2
source
·
[
−
]
pub fn vec2<S>(x: S, y: S) ->
Vector2
<S>
Expand description
The short constructor.