Public Member Functions | |
PtRay () | |
PtRay (Vertex3f origin, Vertex3f direction) | |
void | SetInverse () |
Static Public Member Functions | |
static PtRay | CreateReflectionRay (Vertex3f intersectionPoint, Vertex3f currentRayDirection, Vertex3f normal) |
static PtRay | CreateReflectionRay (PtRay currentRay, IntersectionInfo info) |
static PtRay | CreateReflectionRay (PtRay currentRay, IntersectionInfo info, ref Vertex3f fr) |
static bool | IsTIR (PtRay currentRay, IntersectionInfo info) |
static PtRay | CreateRefractionRay (int x, int y, PtRay currentRay, IntersectionInfo info) |
static PtRay | CreateRefractionRay (int x, int y, PtRay currentRay, IntersectionInfo info, ref Vertex3f fr) |
Public Attributes | |
Vertex3f | Origin |
Vertex3f | Direction |
Vertex3f | InvDirection |
int[] | Sign = { 0, 0, 0} |
Powertek.Rt.PtRay.PtRay | ( | ) |
Powertek.Rt.PtRay.PtRay | ( | Vertex3f | origin, | |
Vertex3f | direction | |||
) |
static PtRay Powertek.Rt.PtRay.CreateReflectionRay | ( | PtRay | currentRay, | |
IntersectionInfo | info, | |||
ref Vertex3f | fr | |||
) | [static] |
CreateReflectionRay.
currentRay | ||
info | ||
fr |
static PtRay Powertek.Rt.PtRay.CreateReflectionRay | ( | PtRay | currentRay, | |
IntersectionInfo | info | |||
) | [static] |
this will create a reflection ray using the info.normal and ray direction depending depending on the intersectiontype > inner/outer intersection
currentRay | ||
info |
static PtRay Powertek.Rt.PtRay.CreateReflectionRay | ( | Vertex3f | intersectionPoint, | |
Vertex3f | currentRayDirection, | |||
Vertex3f | normal | |||
) | [static] |
CreateReflectionRay.
intersectionPoint | ||
currentRayDirection | ||
normal |
static PtRay Powertek.Rt.PtRay.CreateRefractionRay | ( | int | x, | |
int | y, | |||
PtRay | currentRay, | |||
IntersectionInfo | info, | |||
ref Vertex3f | fr | |||
) | [static] |
CreateRefractionRay.
x | ||
y | ||
currentRay | ||
info | ||
fr |
static PtRay Powertek.Rt.PtRay.CreateRefractionRay | ( | int | x, | |
int | y, | |||
PtRay | currentRay, | |||
IntersectionInfo | info | |||
) | [static] |
CreateRefractionRay.
x | ||
y | ||
currentRay | ||
info |
static bool Powertek.Rt.PtRay.IsTIR | ( | PtRay | currentRay, | |
IntersectionInfo | info | |||
) | [static] |
Check Total Inner Reflection.
currentRay | ||
info |
void Powertek.Rt.PtRay.SetInverse | ( | ) |
Calculate and SetInverse to ray.
Vertex3f Powertek.Rt.PtRay.Direction |
Ray Direction.
Vertex3f Powertek.Rt.PtRay.InvDirection |
Inverse Ray Direction.
Vertex3f Powertek.Rt.PtRay.Origin |
Ray Origin.
int [] Powertek.Rt.PtRay.Sign = { 0, 0, 0} |
Sign of Direction.