Docs.rs
maglio-0.1.2
maglio 0.1.2
Docs.rs crate page
Unlicense
Links
crates.io
Source
Owners
jakob-fischer
Dependencies
ordered-float ^2.8.0
normal
Versions
0%
of the crate is documented
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
Vec3d
maglio
0.1.2
Vec3d
Aliased Type
Fields
t
Methods
is_almost_zero
new_raw
reflect
refract
Trait Implementations
Eq
Hash
In crate maglio
maglio
Type Alias
Vec3d
Copy item path
Source
pub type Vec3d =
Vec3
<
f64
>;
Aliased Type
§
pub struct Vec3d { pub t: [
f64
;
3
], }
Fields
§
§
t: [
f64
;
3
]
Implementations
§
Source
§
impl
Vec3d
Source
pub fn
is_almost_zero
(&self) ->
bool
Source
pub fn
reflect
(&self, n: &
Vec3d
) ->
Vec3d
Source
pub fn
refract
(&self, n: &
Vec3d
, etai_over_etat:
f64
) ->
Vec3d
Source
§
impl
Vec3d
Source
pub fn
new_raw
(x:
f64
, y:
f64
, z:
f64
) -> Self
Trait Implementations
§
Source
§
impl
Hash
for
Vec3d
Source
§
fn
hash
<H:
Hasher
>(&self, state:
&mut H
)
Feeds this value into the given
Hasher
.
Read more
1.3.0
·
Source
§
fn
hash_slice
<H>(data: &[Self], state:
&mut H
)
where H:
Hasher
, Self:
Sized
,
Feeds a slice of this type into the given
Hasher
.
Read more
Source
§
impl
Eq
for
Vec3d