Powertek.Rt.PtSpherePrimitive Class Reference

PtSpherePrimitive. More...

Inherits Powertek::Rt::PtPrimitive.

Collaboration diagram for Powertek.Rt.PtSpherePrimitive:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 PtSpherePrimitive (float x, float y, float z, float radius)
override Vertex3f GetNormal (ref Vertex3f aPos)
override void GetUV (IntersectionInfo info, ref float u, ref float v)
override PtIntersectionType Intersect (PtRay ray, IntersectionInfo info, PtIntersectionMode mode)
PtIntersectionType Intersect (PtRay ray, ref float dst)


Detailed Description


Constructor & Destructor Documentation

Powertek.Rt.PtSpherePrimitive.PtSpherePrimitive ( float  x,
float  y,
float  z,
float  radius 
)

PtSpherePrimitive.

Parameters:
x 
y 
z 
radius 


Member Function Documentation

override Vertex3f Powertek.Rt.PtSpherePrimitive.GetNormal ( ref Vertex3f  aPos  )  [virtual]

Return Normal at Point.

Parameters:
aPos 
Returns:

Reimplemented from Powertek.Rt.PtPrimitive.

override void Powertek.Rt.PtSpherePrimitive.GetUV ( IntersectionInfo  info,
ref float  u,
ref float  v 
) [virtual]

Return UV TexCoord at Point.

Parameters:
info 
u 
v 

Reimplemented from Powertek.Rt.PtPrimitive.

PtIntersectionType Powertek.Rt.PtSpherePrimitive.Intersect ( PtRay  ray,
ref float  dst 
)

Intersect with Ray.

Parameters:
ray 
dst 
Returns:

override PtIntersectionType Powertek.Rt.PtSpherePrimitive.Intersect ( PtRay  ray,
IntersectionInfo  info,
PtIntersectionMode  mode 
) [virtual]

Intersect with Ray.

Parameters:
ray 
info 
mode 
Returns:

Reimplemented from Powertek.Rt.PtPrimitive.


The documentation for this class was generated from the following file:

Generated on Thu Nov 20 04:45:49 2008 for Powertek.Rt, 1.0.0.60 by  doxygen 1.5.7.1