Docs.rs
tea_render-0.1.0
tea_render 0.1.0
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
canoi12
Dependencies
gl ^0.14.0
normal
Versions
0%
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
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
Vec3
Methods
back
cross
dot
down
from_array
front
len
normalize
scalar
up
zero
Trait Implementations
GlslType
In tea::vec
?
Type Alias
tea
::
vec
::
Vec3
source
·
[
−
]
pub type Vec3 =
Vector3
<
f32
>;
Implementations
§
source
§
impl
Vec3
source
pub fn
zero
() -> Self
source
pub fn
up
() -> Self
source
pub fn
down
() -> Self
source
pub fn
front
() -> Self
source
pub fn
back
() -> Self
source
pub fn
from_array
(data: [
f32
;
4
]) -> Self
source
pub fn
dot
(&self, rhs:
&Self
) ->
f32
source
pub fn
len
(&self) ->
f32
source
pub fn
cross
(&self, other:
&Self
) -> Self
source
pub fn
normalize
(&self) -> Self
source
pub fn
scalar
(&self, val:
f32
) -> Self
Trait Implementations
§
source
§
impl
GlslType
for
Vec3
source
§
fn
to_glsl
() ->
String