diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-04-20 19:36:41 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-04-20 19:36:41 +0900 |
| commit | 4c09ecb0475e8601defb57523840bab41ba6b79c (patch) | |
| tree | 81d2329e988e3aad76755f062302473e0b9513a6 | |
| parent | da9a510c32c9a1d6fc2e82e23d0b6b1f1a6a7f83 (diff) | |
| download | RayTracingInOneWeekend.zig-4c09ecb0475e8601defb57523840bab41ba6b79c.tar.gz RayTracingInOneWeekend.zig-4c09ecb0475e8601defb57523840bab41ba6b79c.tar.zst RayTracingInOneWeekend.zig-4c09ecb0475e8601defb57523840bab41ba6b79c.zip | |
refactor: remove unused consts
| -rw-r--r-- | src/main.zig | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/main.zig b/src/main.zig index d81a6e6..19e48b6 100644 --- a/src/main.zig +++ b/src/main.zig @@ -14,26 +14,13 @@ const Point3 = rtw.vec.Point3; const Color = rtw.vec.Color; const rgb = rtw.vec.rgb; const Random = rtw.rand.Random; -const randomPointInUnitSphere = rtw.rand.randomPointInUnitSphere; const randomPointInUnitDisk = rtw.rand.randomPointInUnitDisk; -const randomUnitVector = rtw.rand.randomUnitVector; -const randomInt = rtw.rand.randomInt; const randomReal01 = rtw.rand.randomReal01; const randomReal = rtw.rand.randomReal; const Material = rtw.material.Material; -const DiffuseMaterial = rtw.material.DiffuseMaterial; -const MetalMaterial = rtw.material.MetalMaterial; -const DielectricMaterial = rtw.material.DielectricMaterial; - const Texture = rtw.texture.Texture; -const SolidTexture = rtw.texture.SolidTexture; -const CheckerTexture = rtw.texture.CheckerTexture; - const Hittable = rtw.hittable.Hittable; -const BvhNode = rtw.hittable.BvhNode; - -const Aabb = rtw.aabb.Aabb; const HitRecord = rtw.hit_record.HitRecord; fn makeSphere(center: Point3, radius: f64, material: *const Material) Hittable { |
