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

pub struct CylindricalMapping2D {
    pub world_to_texture: Transform,


world_to_texture: Transform


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(
    si: &SurfaceInteraction<'_>,
    dstdx: &mut Vector2f,
    dstdy: &mut Vector2f
) -> Point2f

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.