public class WebGLUtil
extends java.lang.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,
java.lang.String vertexSource,
java.lang.String fragmentSource) |
public static float[] createPerspectiveMatrix(int fieldOfViewVertical,
float aspectRatio,
float minimumClearance,
float maximumClearance)
public static WebGLProgram createShaderProgram(WebGLRenderingContext gl, java.lang.String vertexSource, java.lang.String fragmentSource)
Copyright © 2018. All Rights Reserved.