Sierpinski Gasket #2
@@ -1,12 +1,12 @@
|
||||
//! # Camera
|
||||
//!
|
||||
//!
|
||||
//! Map points from the IFS coordinate system to pixel coordinates. This is a lossy transformation.
|
||||
use bytemuck::{Pod, Zeroable};
|
||||
use glam::{Affine2, IVec2, UVec2, Vec2, vec2};
|
||||
use libm::powf;
|
||||
|
||||
/// Settings used to map IFS coordinates to pixel coordinates.
|
||||
///
|
||||
///
|
||||
/// The camera is itself an affine transformation, capable of zoom, rotation, and translation
|
||||
/// of the IFS coordinates before rendering to the final image.
|
||||
#[derive(Copy, Clone, Pod, Zeroable)]
|
||||
|
||||
Reference in New Issue
Block a user