Tachyon (current)  Current Main Branch
Macros | Functions
parvol.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "tachyon.h"
#include "macros.h"
#include "vector.h"
#include "util.h"
#include "parallel.h"
#include "box.h"
#include "parvol.h"
#include "trace.h"
#include "sphere.h"
#include "light.h"
#include "shade.h"
#include "global.h"

Go to the source code of this file.

Macros

#define TACHYON_INTERNAL   1
 

Functions

parvolnewparvol ()
 
color ParVoxelColor (flt scalar)
 
color par_volume_texture (vector *hit, texture *tex, ray *ry)
 

Macro Definition Documentation

◆ TACHYON_INTERNAL

#define TACHYON_INTERNAL   1

Definition at line 16 of file parvol.c.

Function Documentation

◆ newparvol()

parvol* newparvol ( )

Definition at line 30 of file parvol.c.

References box_intersect(), and box_normal().

◆ par_volume_texture()

color par_volume_texture ( vector *  hit,
texture *  tex,
ray *  ry 
)

◆ ParVoxelColor()

color ParVoxelColor ( flt  scalar)

Definition at line 41 of file parvol.c.

Referenced by par_volume_texture().