|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.lwjgl.util.glu.Util
public class Util
Util.java
Created 7-jan-2004
| Constructor Summary | |
|---|---|
Util()
|
|
| Method Summary | |
|---|---|
protected static int |
bytesPerPixel(int format,
int type)
Method bytesPerPixel. |
protected static int |
ceil(int a,
int b)
Return ceiling of integer division |
protected static int |
compPerPix(int format)
Method compPerPix. |
protected static void |
cross(float[] v1,
float[] v2,
float[] result)
Calculate cross-product |
protected static int |
glGetIntegerv(int what)
Convenience method for returning an int, rather than getting it out of a buffer yourself. |
protected static int |
nearestPower(int value)
Method nearestPower. |
protected static float[] |
normalize(float[] v)
Normalize vector |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Util()
| Method Detail |
|---|
protected static int ceil(int a,
int b)
a - b -
protected static float[] normalize(float[] v)
v -
protected static void cross(float[] v1,
float[] v2,
float[] result)
v1 - v2 - result - protected static int compPerPix(int format)
format -
protected static int nearestPower(int value)
value -
protected static int bytesPerPixel(int format,
int type)
format - type -
protected static int glGetIntegerv(int what)
what -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||