rand.c File Reference

These are our tables of random numbers. More...

#include "common.h"
#include <stdio.h>
#include "machine.h"
#include "bu.h"
#include "vmath.h"
#include "bn.h"

Include dependency graph for rand.c:

Go to the source code of this file.

Functions

void bn_mathtab_constant (void)
 For benchmarking purposes, make the random number table predictable. Setting to all zeros keeps dithered values at their original values.

Variables

const float bn_rand_table [BN_RAND_TABSIZE]
double bn_sin_scale = 325.949323452232
 SINTABSIZE / TWOPI.
const float bn_sin_table [BN_SINTABSIZE]
 table of sine values.
int bn_randhalftabsize = BN_RANDHALFTABSIZE
float bn_rand_halftab [BN_RANDHALFTABSIZE]
float bn_rand_poison_ []


Detailed Description

These are our tables of random numbers.

Definition in file rand.c.


Generated on Mon Sep 18 01:25:03 2006 for BRL-CAD by  doxygen 1.4.6