jglcore
Interface JGL_3DStruct

All Known Implementing Classes:
JGL_3DBsp, JGL_3DMovable, JGL_Animation

public interface JGL_3DStruct

Interface representing a 3D displayable structure. A JGL_3DStruct object can be contained by a JGL_3DMovable object, so it can be moved and insert into a JGL_3DBsp tree.

Author:
Nicolas Devere

Method Summary
 void display(JGL_3DVector eye)
          Displays the structure according to the specified eye position.
 void display(JGL_3DVector eye, JGL_3DVector[] cone)
          Displays the structure according the specified vision cone (an eye position and 4 points to make a 4 sides pyramid).
 

Method Detail

display

void display(JGL_3DVector eye)
Displays the structure according to the specified eye position.

Parameters:
eye - : the eye position

display

void display(JGL_3DVector eye,
             JGL_3DVector[] cone)
Displays the structure according the specified vision cone (an eye position and 4 points to make a 4 sides pyramid).

Parameters:
eye - : the eye position (cone base)
cone - : the vision cone represented by 4 points