Tachyon (current)
Current Main Branch
|
Go to the source code of this file.
Macros | |
#define | MYMAX(a, b) ((a) > (b) ? (a) : (b)) |
#define | MYMIN(a, b) ((a) < (b) ? (a) : (b)) |
#define | VDOT(return, a, b) return=(a.x * b.x + a.y * b.y + a.z * b.z); \ |
#define | RAYPNT(c, a, b) |
#define | VSUB(a, b, c) |
#define | VCROSS(a, b, c) |
#define MYMAX | ( | a, | |
b | |||
) | ((a) > (b) ? (a) : (b)) |
Definition at line 12 of file macros.h.
Referenced by box_normal(), cellbound(), engrid_cell(), fcylinder_bbox(), globalbound(), and tri_bbox().
#define MYMIN | ( | a, | |
b | |||
) | ((a) < (b) ? (a) : (b)) |
Definition at line 13 of file macros.h.
Referenced by cellbound(), fcylinder_bbox(), globalbound(), and tri_bbox().
#define RAYPNT | ( | c, | |
a, | |||
b | |||
) |
Definition at line 18 of file macros.h.
Referenced by add_clipped_intersection(), add_clipped_shadow_intersection(), fcylinder_intersect(), full_shader(), low_shader(), and medium_shader().
#define VCROSS | ( | a, | |
b, | |||
c | |||
) |
#define VDOT | ( | return, | |
a, | |||
b | |||
) | return=(a.x * b.x + a.y * b.y + a.z * b.z); \ |
Definition at line 15 of file macros.h.
Referenced by cylinder_intersect(), cylinder_normal(), directional_light_shade_diffuse(), ext_volume_texture(), fcylinder_intersect(), image_plane_texture(), image_volume_texture(), light_intersect(), light_spotlight_falloff(), par_volume_texture(), point_light_shade_diffuse(), ring_intersect(), simple_point_light_shade_diffuse(), and sphere_intersect().
#define VSUB | ( | a, | |
b, | |||
c | |||
) |
Definition at line 24 of file macros.h.
Referenced by ext_volume_texture(), light_intersect(), par_volume_texture(), point_light_shade_diffuse(), ring_intersect(), simple_point_light_shade_diffuse(), sphere_intersect(), stri_normal(), stri_normal_guess(), stri_normal_reverse(), and vcstri_color().