SLProject  4.2.000
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
SLRayMC.h File Reference
#include <stdafx.h>
#include <randomc.h>
#include <SLMaterial.h>
Include dependency graph for SLRayMC.h:

Go to the source code of this file.

Classes

class  SLRay
 Ray class with ray and intersection properties. More...
 

Macros

#define SL_MAXTRACE   15
 

Enumerations

enum  SLRayType {
  PRIMARY = 0 , REFLECTED = 1 , REFRACTED = 2 , SHADOW = 3 , PRIMARY = 0 , REFLECTED = 1 ,
  TRANSMITTED = 2 , SHADOW = 3
}
 

Macro Definition Documentation

◆ SL_MAXTRACE

#define SL_MAXTRACE   15

Definition at line 28 of file SLRayMC.h.

Enumeration Type Documentation

◆ SLRayType

enum SLRayType
Enumerator
PRIMARY 
REFLECTED 
REFRACTED 
SHADOW 
PRIMARY 
REFLECTED 
TRANSMITTED 
SHADOW 

Definition at line 21 of file SLRayMC.h.

22 {
23  PRIMARY = 0,
24  REFLECTED = 1,
25  TRANSMITTED = 2,
26  SHADOW = 3
27 };
@ TRANSMITTED
Definition: SLRayMC.h:25
@ SHADOW
Definition: SLRayMC.h:26
@ PRIMARY
Definition: SLRayMC.h:23
@ REFLECTED
Definition: SLRayMC.h:24