|
Tachyon (current)
Current Main Branch
|
Go to the source code of this file.
Functions | |
| object * | newtri (void *, vector, vector, vector) |
| object * | newstri (void *, vector, vector, vector, vector, vector, vector) |
| void | stri_normal_fixup (object *, int mode) |
| object * | newvcstri (void *, vector, vector, vector, vector, vector, vector, color, color, color) |
| void | vcstri_normal_fixup (object *, int mode) |
| color | vcstri_color (const vector *hit, const texture *tex, const ray *incident) |
| object* newstri | ( | void * | , |
| vector | , | ||
| vector | , | ||
| vector | , | ||
| vector | , | ||
| vector | , | ||
| vector | |||
| ) |
Definition at line 84 of file triangle.c.
References stri_methods, VLength(), and VSub().
Referenced by rt_stri(), and rt_stri3fv().
| object* newtri | ( | void * | , |
| vector | , | ||
| vector | , | ||
| vector | |||
| ) |
Definition at line 54 of file triangle.c.
References tri_methods, VLength(), and VSub().
Referenced by rt_tri(), and rt_tri3fv().
| object* newvcstri | ( | void * | , |
| vector | , | ||
| vector | , | ||
| vector | , | ||
| vector | , | ||
| vector | , | ||
| vector | , | ||
| color | , | ||
| color | , | ||
| color | |||
| ) |
Definition at line 141 of file triangle.c.
References stri_methods, vcstri_color(), VLength(), and VSub().
Referenced by rt_tristripscnv3fv(), rt_vcstri(), and rt_vcstri3fv().
| void stri_normal_fixup | ( | object * | , |
| int | mode | ||
| ) |
Definition at line 118 of file triangle.c.
References stri_methods, stri_methods_guess, and stri_methods_reverse.
Referenced by rt_stri(), and rt_stri3fv().
| color vcstri_color | ( | const vector * | hit, |
| const texture * | tex, | ||
| const ray * | incident | ||
| ) |
Definition at line 360 of file triangle.c.
References CROSS, DOT, and VSUB.
Referenced by newvcstri().
| void vcstri_normal_fixup | ( | object * | , |
| int | mode | ||
| ) |
Definition at line 183 of file triangle.c.
References stri_methods, stri_methods_guess, and stri_methods_reverse.
Referenced by rt_tristripscnv3fv(), rt_vcstri(), and rt_vcstri3fv().
1.8.14