Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cfsamson/pixar_raytracer
/ functions
Functions
20 in github.com/cfsamson/pixar_raytracer
⨍
Functions
20
◇
Types & classes
1
↓ 11 callers
Function
min
(l: f32, r: f32)
src/main.rs:65
↓ 5 callers
Function
sqrtf
(x: f32)
src/main.rs:85
↓ 4 callers
Function
query_database
(position: Vec3, hit_type: &mut u8)
src/main.rs:141
↓ 4 callers
Function
random_val
()
src/main.rs:73
↓ 3 callers
Function
box_test
(position: Vec3, lower_left: Vec3, upper_right: Vec3)
src/main.rs:101
↓ 2 callers
Function
fabsf
(x: f32)
src/main.rs:81
↓ 2 callers
Function
ray_marching
(origin: Vec3, direction: Vec3, hit_pos: &mut Vec3, hit_norm: &mut Vec3)
src/main.rs:203
↓ 1 callers
Function
cosf
(x: f32)
src/main.rs:93
↓ 1 callers
Function
fmodf
(x: f32, y: f32)
src/main.rs:77
↓ 1 callers
Function
powf
(x: f32, y: f32)
src/main.rs:89
↓ 1 callers
Function
sinf
(x: f32)
src/main.rs:97
↓ 1 callers
Function
trace
(mut origin: Vec3, mut direction: Vec3)
src/main.rs:227
Method
add
(self, other: Vec3)
src/main.rs:25
Method
from
(n: f32)
src/main.rs:60
Function
main
()
src/main.rs:282
Method
mul
(self, other: Vec3)
src/main.rs:36
Method
new_ab
(a: f32, b: f32)
src/main.rs:18
Method
new_abc
(a: f32, b: f32, c: f32)
src/main.rs:15
Method
not
(self)
src/main.rs:54
Method
rem
(self, other: Vec3)
src/main.rs:47