| 
    Tachyon (current)
    Current Main Branch
    
   | 
 
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <math.h>#include "tachyon.h"#include "macros.h"Go to the source code of this file.
Macros | |
| #define | TACHYON_INTERNAL 1 | 
Functions | |
| flt | VDot (const vector *a, const vector *b) | 
| void | VCross (const vector *a, const vector *b, vector *c) | 
| flt | VLength (const vector *a) | 
| void | VNorm (vector *a) | 
| void | VAdd (const vector *a, const vector *b, vector *c) | 
| void | VSub (const vector *a, const vector *b, vector *c) | 
| void | VAddS (flt a, const vector *A, const vector *B, vector *C) | 
| vector | Raypnt (const ray *a, flt t) | 
| void | VScale (vector *a, flt s) | 
| void | ColorAddS (color *a, const color *b, flt s) | 
| void | ColorAccum (color *a, const color *b) | 
| void | ColorScale (color *a, flt s) | 
| void ColorAccum | ( | color * | a, | 
| const color * | b | ||
| ) | 
Definition at line 85 of file vector.c.
Referenced by full_shader(), and medium_shader().
| void ColorAddS | ( | color * | a, | 
| const color * | b, | ||
| flt | s | ||
| ) | 
Definition at line 79 of file vector.c.
Referenced by full_shader(), and medium_shader().
| void ColorScale | ( | color * | a, | 
| flt | s | ||
| ) | 
Definition at line 91 of file vector.c.
Referenced by full_shader(), medium_shader(), shade_reflection(), and shade_transmission().
| vector Raypnt | ( | const ray * | a, | 
| flt | t | ||
| ) | 
Definition at line 63 of file vector.c.
Referenced by ring_intersect(), shade_ambient_occlusion(), shade_reflection(), and shade_transmission().
| void VAdd | ( | const vector * | a, | 
| const vector * | b, | ||
| vector * | c | ||
| ) | 
| void VAddS | ( | flt | a, | 
| const vector * | A, | ||
| const vector * | B, | ||
| vector * | C | ||
| ) | 
| void VCross | ( | const vector * | a, | 
| const vector * | b, | ||
| vector * | c | ||
| ) | 
| flt VLength | ( | const vector * | a | ) | 
| void VScale | ( | vector * | a, | 
| flt | s | ||
| ) | 
Definition at line 73 of file vector.c.
Referenced by shade_phong().
 1.8.14