BenQ Mobile

javax.microedition.m3g
Class TriangleStripArray

java.lang.Object
  extended byjavax.microedition.m3g.Object3D
      extended byjavax.microedition.m3g.IndexBuffer
          extended byjavax.microedition.m3g.TriangleStripArray

public class TriangleStripArray
extends IndexBuffer

TriangleStripArray defines an array of triangle strips. In a triangle strip, the first three vertex indices define the first triangle. Each subsequent index together with the two previous indices defines a new triangle.


Constructor Summary
TriangleStripArray(int[] indices, int[] stripLengths)
          Constructs a triangle strip array with explicit indices.
TriangleStripArray(int firstIndex, int[] stripLengths)
          Constructs a triangle strip array with implicit indices.
 
Methods inherited from class javax.microedition.m3g.Object3D
addAnimationTrack, animate, duplicate, find, getAnimationTrack, getAnimationTrackCount, getReferences, getUserID, getUserObject, removeAnimationTrack, setUserID, setUserObject
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TriangleStripArray

public TriangleStripArray(int firstIndex,
                          int[] stripLengths)
Constructs a triangle strip array with implicit indices.


TriangleStripArray

public TriangleStripArray(int[] indices,
                          int[] stripLengths)
Constructs a triangle strip array with explicit indices.


BenQ Mobile

Copyright © 2006 BenQ Mobile GmbH & Co. OHG or respective copyright owner.
All Rights Reserved.
BenQ Corp. is a trademark licensee of Siemens AG.


For further information about Mobility Toolkit (MTK) visit our Developer Portal.