00001 /*
00002 File: RayStats.h
00003
00004 Function:
00005
00006 Author: Andrew Willmott
00007
00008 Copyright: (c) 1996-2000, Andrew Willmott
00009 */
00010
00011 #ifndef __RayStats__
00012 #define __RayStats__
00013
00014 #include "RT_Defs.h"
00015
00016 struct RayStats
00017 {
00018 Int rays;
00019 Int hits;
00020 Int goodHits;
00021 Int polysTested;
00022 Int intersections;
00023 Int voxels;
00024 Int grids;
00025 Int d1;
00026 Int d2;
00027 Real time;
00028 };
00029
00030
00031 struct RayTraceStats
00032 {
00033 RayStats ray[16];
00034 // 0 = shadow rays, 1 = eye rays, 2 = 1st reflection etc.
00035 static Int maxCasts;
00036
00037 Void Clear();
00038 Void Print();
00039 };
00040
00041
00042 #endif