C# Class RayBench

Exibir arquivo Open project: niofis/raybench Class Usage Examples

Public Properties

Property Type Description
rnd Random
spheres Sphere[],

Public Methods

Method Description
Main ( String args ) : void
WritePPM ( Vector3 data ) : void
rnd_dome ( Vector3 normal ) : Vector3
trace ( Ray, ray, int depth ) : Vector3

Method Details

Main() public static method

public static Main ( String args ) : void
args String
return void

WritePPM() public static method

public static WritePPM ( Vector3 data ) : void
data Vector3
return void

rnd_dome() public static method

public static rnd_dome ( Vector3 normal ) : Vector3
normal Vector3
return Vector3

trace() public static method

public static trace ( Ray, ray, int depth ) : Vector3
ray Ray,
depth int
return Vector3

Property Details

rnd public_oe static_oe property

public static Random rnd
return Random

spheres public_oe static_oe property

public static Sphere[], spheres
return Sphere[],