Struct ggez::graphics::na::Reflection [] [src]

pub struct Reflection<N, D, S> where
    D: Dim,
    N: Scalar,
    S: Storage<N, D, U1>, 
{ /* fields omitted */ }

A reflection wrt. a plane.

Methods

impl<N, D, S> Reflection<N, D, S> where
    D: Dim,
    N: Real,
    S: Storage<N, D, U1>, 
[src]

[src]

Creates a new reflection wrt the plane orthogonal to the given axis and bias.

The bias is the position of the plane on the axis. In particular, a bias equal to zero represents a plane that passes through the origin.

[src]

Creates a new reflection wrt. the plane orthogonal to the given axis and that contains the point pt.

[src]

The reflexion axis.

[src]

Applies the reflection to the columns of rhs.

[src]

Applies the reflection to the rows of rhs.