Squeak Class Documentation category index | class index  
 
B3DViewingFrustum
  category: Balloon3D-Viewing
  superclass: B3DFloatArray
  subclasses:

I represent a viewing frustum, defined by the following values:

typedef struct B3DViewingFrustum {
float left;
float right;
float top;
float bottom;
float near;
float far;
} B3DViewingFrustum;

The frustum can be converted into either a ortho matrix (having no perspective distortion) or a perspective matrix for use in the Balloon 3D render engine.

instance methods
  accessing
  bottom
bottom:
far
far:
left
left:
near
near:
right
right:
top
top:

  converting
  asFrustum
asOrthoMatrix
asPerspectiveMatrix

  private
  asOrthoMatrixInto:
asPerspectiveMatrixInto:
computeFromNear:far:fov:aspect:

class methods
  instance creation
  near:far:fov:aspect:
numElements

instance methods
  accessing top  
 

bottom


 

bottom:


 

far


 

far:


 

left


 

left:


 

near


 

near:


 

right


 

right:


 

top


 

top:


  converting top  
 

asFrustum


 

asOrthoMatrix


 

asPerspectiveMatrix


  private top  
 

asOrthoMatrixInto:


 

asPerspectiveMatrixInto:


 

computeFromNear:far:fov:aspect:

Compute the viewing frustum from the given values


class methods
  instance creation top  
 

near:far:fov:aspect:


 

numElements