Revision b24e4719
Added by Leszek Koltunski over 5 years ago
src/main/java/org/distorted/library/effect/VertexEffect.java | ||
---|---|---|
29 | 29 |
* 12: 5 per-effect interpolated values, 3-dimensional center, 4-dimensional Region |
30 | 30 |
*/ |
31 | 31 |
public static final int NUM_UNIFORMS = 12; |
32 |
static final int VALUES_OFFSET = 0; |
|
33 |
static final int CENTER_OFFSET = 5; |
|
34 |
static final int REGION_OFFSET = 8; |
|
32 | 35 |
private static String mGLSL = ""; |
33 | 36 |
private static int mNumEnabled = 0; |
34 | 37 |
|
Also available in: Unified diff
Make the Fragment effects truly 3D: change their 4D 'region' into a 3D 'center' (a point in 3D) and 3D 'region' (which is now a set of 3 radii defining an ellipsoid around the center)
Also corresponding changes to the applications.