![]() |
Shadowrun: Awakened 29 September 2011 - Build 871
|
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Defines | |
| #define | MYMAX(a, b) ((a) > (b) ? (a) : (b)) |
| #define | MYMIN(a, b) ((a) < (b) ? (a) : (b)) |
| #define | RAYPNT(c, a, b) |
| #define | VCROSS(a, b, c) |
| #define | VDOT(return, a, b) return=(a.x * b.x + a.y * b.y + a.z * b.z); \ |
| #define | VSUB(a, b, c) |
| #define MYMAX | ( | a, | |
| b | |||
| ) | ((a) > (b) ? (a) : (b)) |
Definition at line 65 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 66 of file macros.h.
Referenced by cellbound(), fcylinder_bbox(), globalbound(), and tri_bbox().
| #define RAYPNT | ( | c, | |
| a, | |||
| b | |||
| ) |
c.x = a.o.x + ( a.d.x * b ); \ c.y = a.o.y + ( a.d.y * b ); \ c.z = a.o.z + ( a.d.z * b ); \
Definition at line 71 of file macros.h.
Referenced by bndbox_intersect(), fcylinder_intersect(), and 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 68 of file macros.h.
Referenced by cylinder_intersect(), cylinder_normal(), ext_volume_texture(), fcylinder_intersect(), image_plane_texture(), light_intersect(), ring_intersect(), shader(), and sphere_intersect().
| #define VSUB | ( | a, | |
| b, | |||
| c | |||
| ) |
c.x = (a.x - b.x); \ c.y = (a.y - b.y); \ c.z = (a.z - b.z); \
Definition at line 77 of file macros.h.
Referenced by ext_volume_texture(), light_intersect(), ring_intersect(), shader(), sphere_intersect(), and stri_normal().
Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.