Docs.rs
piston_window-0.130.0
piston_window 0.130.0
Docs.rs crate page
MIT
Links
Homepage
Documentation
Repository
crates.io
Source
Owners
bvssvni
github:pistondevelopers:publish
Dependencies
gfx ^0.18.1
normal
gfx_device_gl ^0.16.2
normal
piston ^0.54.0
normal
piston-texture ^0.9.0
normal
piston2d-gfx_graphics ^0.80.0
normal
piston2d-graphics ^0.44.0
normal
pistoncore-glutin_window ^0.72.0
normal
shader_version ^0.7.0
normal
Versions
86.21%
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 piston_window::math
?
Function
piston_window
::
math
::
scale
source
·
[
−
]
pub fn scale<T>(sx: T, sy: T) -> [
[T; 3]
;
2
]
where T: Float,
Expand description
Create a scale matrix.