[][src]Struct pbrt::core::texture::CylindricalMapping2D

pub struct CylindricalMapping2D {
    pub world_to_texture: Transform,
}

Fields

world_to_texture: Transform

Implementations

impl CylindricalMapping2D[src]

pub fn new(world_to_texture: Transform) -> Self[src]

pub fn cylinder(&self, p: &Point3f) -> Point2f[src]

impl CylindricalMapping2D[src]

pub fn map(
    &self,
    si: &SurfaceInteraction<'_>,
    dstdx: &mut Vector2f,
    dstdy: &mut Vector2f
) -> Point2f
[src]

Trait Implementations

impl Clone for CylindricalMapping2D[src]

impl Copy for CylindricalMapping2D[src]

impl Debug for CylindricalMapping2D[src]

impl Default for CylindricalMapping2D[src]

Auto Trait Implementations

impl RefUnwindSafe for CylindricalMapping2D

impl Send for CylindricalMapping2D

impl Sync for CylindricalMapping2D

impl Unpin for CylindricalMapping2D

impl UnwindSafe for CylindricalMapping2D

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.