android.opengl
Class Visibility

java.lang.Object
  extended by android.opengl.Visibility

public class Visibility
extends Object


Constructor Summary
Visibility()
           
 
Method Summary
static void computeBoundingSphere(float[] positions, int positionsOffset, int positionsCount, float[] sphere, int sphereOffset)
           
static int frustumCullSpheres(float[] mvp, int mvpOffset, float[] spheres, int spheresOffset, int spheresCount, int[] results, int resultsOffset, int resultsCapacity)
           
static int visibilityTest(float[] ws, int wsOffset, float[] positions, int positionsOffset, char[] indices, int indicesOffset, int indexCount)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Visibility

public Visibility()
Method Detail

visibilityTest

public static int visibilityTest(float[] ws,
                                 int wsOffset,
                                 float[] positions,
                                 int positionsOffset,
                                 char[] indices,
                                 int indicesOffset,
                                 int indexCount)

frustumCullSpheres

public static int frustumCullSpheres(float[] mvp,
                                     int mvpOffset,
                                     float[] spheres,
                                     int spheresOffset,
                                     int spheresCount,
                                     int[] results,
                                     int resultsOffset,
                                     int resultsCapacity)

computeBoundingSphere

public static void computeBoundingSphere(float[] positions,
                                         int positionsOffset,
                                         int positionsCount,
                                         float[] sphere,
                                         int sphereOffset)


Copyright © 2008-2012. All Rights Reserved.