Docs.rs
piston2d-graphics-0.6.0
piston2d-graphics 0.6.0
Docs.rs crate page
MIT
Links
Homepage
Repository
crates.io
Source
Owners
bvssvni
github:pistondevelopers:publish
Dependencies
interpolation ^0.1.0
draw_state ^0.2.0
piston-texture ^0.2.1
vecmath ^0.1.1
read_color ^0.1.0
num ^0.1.25
piston-viewport ^0.1.0
Versions
Go to latest version
Platform
i686-apple-darwin
i686-pc-windows-gnu
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-gnu
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
graphics
::
math
Function
graphics
::
math
::
translate
[
−
]
[src]
pub fn translate(v:
Vec2d
) ->
Matrix2d
Creates a translation matrix.