Squeak Class Documentation category index | class index  
 
B3DPrimitiveClipper
  category: Balloon3D-PrimitiveEngine
  superclass: B3DVertexClipper
  subclasses:

No comment. Sorry.

instance methods
  clip flags
  determineClipFlags:count:

  clipping polygons
  clipPolygon:count:with:mask:

  private
  primNextClippedTriangleAfter:vertices:count:indexes:count:

class methods
  no messages
 

instance methods
  clip flags top  
 

determineClipFlags:count:

Determine the clip flags for all the vertices in the vertex array


  clipping polygons top  
 

clipPolygon:count:with:mask:

Clip the polygon defined by vtxCount vertices in vtxArray. tempVtxArray is a temporary storage area used for copying the vertices back and forth during clipping operation. outMask is the full clip mask of the vertex buffer, allowing some optimizations of the clipping code.
NOTE: It is significant here that the contents of vtxArray and tempVtxArray are equal.


  private top  
 

primNextClippedTriangleAfter:vertices:count:indexes:count:

Find the next partially clipped triangle from the vertex buffer and return its index.
If there are no more partially clipped triangles return zero.


class methods
  no messages top