Tachyon (current)
Current Main Branch
|
Go to the source code of this file.
Functions | |
flt | VDot (const vector *, const vector *) |
void | VCross (const vector *, const vector *, vector *) |
flt | VLength (const vector *) |
void | VNorm (vector *) |
void | VAdd (const vector *, const vector *, vector *) |
void | VSub (const vector *, const vector *, vector *) |
void | VAddS (flt, const vector *, const vector *, vector *) |
vector | Raypnt (const ray *, flt) |
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 * | , |
flt | |||
) |
Definition at line 63 of file vector.c.
Referenced by ring_intersect(), shade_ambient_occlusion(), shade_reflection(), and shade_transmission().
void VAddS | ( | flt | , |
const vector * | , | ||
const vector * | , | ||
vector * | |||
) |
flt VLength | ( | const vector * | ) |
void VScale | ( | vector * | a, |
flt | s | ||
) |
Definition at line 73 of file vector.c.
Referenced by shade_phong().