summaryrefslogtreecommitdiff
path: root/src/camera.rs
diff options
context:
space:
mode:
authorRosyid Haryadi <rosyid_haryadi@protonmail.com>2025-03-02 14:42:16 +0700
committerRosyid Haryadi <rosyid_haryadi@protonmail.com>2025-03-02 14:42:16 +0700
commitd0e7b955bc93423808990c3e86214340bbb28600 (patch)
tree5ab711094ec4dcb5c3c24a3861a05ed6b9084002 /src/camera.rs
parentaf5cbc11486b5feed4605b9f9685ed55d9f3710a (diff)
refactor renaming global to common
Diffstat (limited to 'src/camera.rs')
-rw-r--r--src/camera.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/camera.rs b/src/camera.rs
index 87ba7c3..a082f34 100644
--- a/src/camera.rs
+++ b/src/camera.rs
@@ -1,5 +1,5 @@
use crate::calculus::calculus::{sample_square, Point3, Ray, Vec3};
-use crate::global::{get_image_height, Color, DisplayBuffer, Pixel, ASPECT_RATIO, CAMERA_CENTER, FOCAL_LENGTH, IMG_WIDTH, SAMPLES_PER_PIXEL, VIEWPORT_HEIGHT};
+use crate::common::{get_image_height, Color, DisplayBuffer, Pixel, ASPECT_RATIO, CAMERA_CENTER, FOCAL_LENGTH, IMG_WIDTH, SAMPLES_PER_PIXEL, VIEWPORT_HEIGHT};
use crate::interval::Interval;
use crate::object::{HitRecord, Hittable, HittableList};