Struct glsl_layout::dvec2
source · pub struct dvec2(_);
Expand description
Vector of 2 double
value.
foo: dvec2
is equivalent to glsl’s dvec2 foo;
Examples
let x: dvec2 = [1f32; 2].into();
Trait Implementations§
source§impl PartialOrd<dvec2> for dvec2
impl PartialOrd<dvec2> for dvec2
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more