public class WebGLUtil extends Object
Constructor and Description |
---|
WebGLUtil() |
Modifier and Type | Method and Description |
---|---|
static float[] |
createPerspectiveMatrix(int fieldOfViewVertical,
float aspectRatio,
float minimumClearance,
float maximumClearance) |
static WebGLProgram |
createShaderProgram(WebGLRenderingContext gl,
String vertexSource,
String fragmentSource) |
public static float[] createPerspectiveMatrix(int fieldOfViewVertical, float aspectRatio, float minimumClearance, float maximumClearance)
public static WebGLProgram createShaderProgram(WebGLRenderingContext gl, String vertexSource, String fragmentSource)
Copyright © 2015. All rights reserved.