MCPcopy Create free account

hub / github.com/Wafelack/raytracer / functions

Functions133 in github.com/Wafelack/raytracer

Methodhit
(&'a self, r: &Ray, t_min: f32, t_max: f32, rec: &mut HitRecord<'a>)
src/bvh.rs:83
Methodhit
(&'a self, r: &Ray, t_min: f32, t_max: f32, rec: &mut HitRecord<'a>)
src/constant_medium.rs:30
Methodhit
(&'a self, r: &Ray, t_min: f32, t_max: f32, rec: &mut HitRecord<'a>)
src/objects/hittable.rs:44
Methodhit
(&'a self, r: &Ray, t_min: f32, t_max: f32, rec: &mut HitRecord<'a>)
src/objects/hittable.rs:66
Methodhit
(&'a self, r: &Ray, t_min: f32, t_max: f32, rec: &mut HitRecord<'a>)
src/objects/hittable_list.rs:43
Methodhit
(&'a self, r: &Ray, t_min: f32, t_max: f32, rec: &mut HitRecord<'a>)
src/objects/moving_sphere.rs:49
Methodhit
(&'a self, r: &Ray, t_min: f32, t_max: f32, rec: &mut HitRecord<'a>)
src/objects/sphere.rs:28
Methodhit
(&'a self, r: &Ray, t_min: f32, t_max: f32, rec: &mut HitRecord<'a>)
src/material/boxx.rs:90
Methodindex
(&self, index: usize)
src/vec3.rs:164
Methodindex_mut
(&mut self, index: usize)
src/vec3.rs:170
Functionmain
()
src/main.rs:440
Methodnew
()
src/aarect.rs:14
Methodnew
()
src/aabb.rs:24
Methodnew
( lookfrom: point3, lookat: point3, vup: Vec3, vfov: f32, aspect_ratio
src/camera.rs:16
Methodnew
()
src/perlin.rs:12
Methodnew
()
src/texture.rs:14
Methodnew
(origin: point3, direction: Vec3, time: f32)
src/ray.rs:11
Methodnew
()
src/vec3.rs:16
Methodnew
()
src/objects/hittable_list.rs:9
Methodnew
( cen0: point3, cen1: point3, time0: f32, time1: f32, r: f32,
src/objects/moving_sphere.rs:14
Methodnew
(cen: point3, r: f32, m: Arc<dyn Material>)
src/objects/sphere.rs:11
Methodnew
(index_of_refraction: f32)
src/material/material.rs:121
Methodnew
()
src/material/boxx.rs:14
Methodperlin_interp
(c: [[[Vec3; 2]; 2]; 2], u: f32, v: f32, w: f32)
src/perlin.rs:71
Methodpermute
(p: &mut Vec<i32>, n: usize)
src/perlin.rs:98
Methodrandom
(min: f32, max: f32)
src/vec3.rs:23
Methodrandom_in_hemisphere
(normal: Vec3)
src/vec3.rs:43
Methodrandom_in_unit_disk
()
src/vec3.rs:51
Methodrandom_in_unit_sphere
()
src/vec3.rs:31
Methodrandom_unit_vector
()
src/vec3.rs:40
Methodsub
(self, other: Self)
src/vec3.rs:117
Methodvoid
()
src/objects/hittable.rs:22
Functionwrite_color
(pixel_color: color, samples_per_pixel: i32)
src/colors.rs:6
← previous101–133 of 133, ranked by callers