Back to project page DivisionByZero.
The source code is released under:
Apache License
If you think the Android project DivisionByZero listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.ggstudios.divisionbyzero; /*from w w w .j a v a2 s . c o m*/ public class VBO { public int handle = -1; public float width; public float height; enum Alignment{ TOP_LEFT, CENTER } Alignment alignment; public VBO() {} public void setVBO(float w, float h, int handle) { setVBO(w, h, handle, Alignment.TOP_LEFT); } public void setVBO(float w, float h, int handle, Alignment alignment) { width = w; height = h; this.handle = handle; this.alignment = alignment; } }