Revision b911dc09
Added by Leszek Koltunski about 9 years ago
| src/main/java/org/distorted/library/DistortedCubes.java | ||
|---|---|---|
| 114 | 114 |
* Copy constructor. |
| 115 | 115 |
* |
| 116 | 116 |
* @param dc Object to copy |
| 117 |
* @param flags see {@see DistortedObject#DistortedObject(DistortedObject,int)}
|
|
| 117 |
* @param flags see {@link DistortedObject#DistortedObject(DistortedObject,int)}
|
|
| 118 | 118 |
*/ |
| 119 | 119 |
public DistortedCubes(DistortedCubes dc, int flags) |
| 120 | 120 |
{
|
| src/main/java/org/distorted/library/DistortedObject.java | ||
|---|---|---|
| 851 | 851 |
/** |
| 852 | 852 |
* Directional, sinusoidal wave effect. |
| 853 | 853 |
* |
| 854 |
* @param wave see {@see wave(Data5D,Data2D)}
|
|
| 855 |
* @param center see {@see wave(Data5D,Data2D)}
|
|
| 854 |
* @param wave see {@link DistortedObject#wave(Data5D,Data2D)}
|
|
| 855 |
* @param center see {@link DistortedObject#wave(Data5D,Data2D)}
|
|
| 856 | 856 |
* @param region Region that masks the Effect. |
| 857 | 857 |
* @return ID of the effect added, or -1 if we failed to add one. |
| 858 | 858 |
*/ |
| src/main/java/org/distorted/library/EffectNames.java | ||
|---|---|---|
| 23 | 23 |
/** |
| 24 | 24 |
* Names of Effects one can apply to DistortedObjects. |
| 25 | 25 |
* <p> |
| 26 |
* Effect's 'Type' is one of the constants defined in {@see EffectTypes}.
|
|
| 26 |
* Effect's 'Type' is one of the constants defined in {@link EffectTypes}.
|
|
| 27 | 27 |
* </p> |
| 28 | 28 |
* <p> |
| 29 | 29 |
* Effect's 'Uniforms' are a vector of 7 (matrix effects) 12 (vertex) or 8 (fragment) floats, which |
| ... | ... | |
| 134 | 134 |
SWIRL ( EffectTypes.VERTEX , new float[] {0.0f} ),
|
| 135 | 135 |
/** |
| 136 | 136 |
* Directional sinusoidal wave effect. The direction of the wave is given by the 'angle' |
| 137 |
* parameters. Details: {@see DistortedObject#wave(Data5D,Data2D)}
|
|
| 137 |
* parameters. Details: {@link DistortedObject#wave(Data5D,Data2D)}
|
|
| 138 | 138 |
* <p> |
| 139 | 139 |
* Uniforms: (amplitude,length,offset,angleAlpha, |
| 140 | 140 |
* angleBeta, UNUSED,centerX,centerY, |
| src/main/java/org/distorted/library/exception/FragmentCompilationException.java | ||
|---|---|---|
| 21 | 21 |
|
| 22 | 22 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| 23 | 23 |
/** |
| 24 |
* Thrown by {@link org.distorted.library.Distorted#onSurfaceCreated(android.opengl.GLSurfaceView)}
|
|
| 24 |
* Thrown by {@link org.distorted.library.Distorted#onSurfaceCreated(android.content.Context)}
|
|
| 25 | 25 |
* if compilation of the fragment shader fails for some other reason than too many uniforms. |
| 26 | 26 |
* <p> |
| 27 | 27 |
* This can happen on older OpenGL ES 2.0 devices if they, say, do not support variable loops in the shaders. |
| src/main/java/org/distorted/library/exception/FragmentUniformsException.java | ||
|---|---|---|
| 21 | 21 |
|
| 22 | 22 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| 23 | 23 |
/** |
| 24 |
* Thrown by {@link org.distorted.library.Distorted#onSurfaceCreated(android.opengl.GLSurfaceView)}
|
|
| 24 |
* Thrown by {@link org.distorted.library.Distorted#onSurfaceCreated(android.content.Context)}
|
|
| 25 | 25 |
* if compilation of the fragment shader fails because of too many uniforms there, i.e. because |
| 26 | 26 |
* we have set {@link org.distorted.library.Distorted#setMaxFragment(int)} to too high value.
|
| 27 | 27 |
*/ |
| src/main/java/org/distorted/library/exception/LinkingException.java | ||
|---|---|---|
| 21 | 21 |
|
| 22 | 22 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| 23 | 23 |
/** |
| 24 |
* Thrown by {@link org.distorted.library.Distorted#onSurfaceCreated(android.opengl.GLSurfaceView)}
|
|
| 24 |
* Thrown by {@link org.distorted.library.Distorted#onSurfaceCreated(android.content.Context)}
|
|
| 25 | 25 |
* if linking of the Shaders fails. |
| 26 | 26 |
* <p> |
| 27 | 27 |
* Theoretically this should never happen. |
| src/main/java/org/distorted/library/exception/VertexCompilationException.java | ||
|---|---|---|
| 21 | 21 |
|
| 22 | 22 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| 23 | 23 |
/** |
| 24 |
* Thrown by {@link org.distorted.library.Distorted#onSurfaceCreated(android.opengl.GLSurfaceView)}
|
|
| 24 |
* Thrown by {@link org.distorted.library.Distorted#onSurfaceCreated(android.content.Context)}
|
|
| 25 | 25 |
* if compilation of the vertex shader fails for some other reason than too many uniforms. |
| 26 | 26 |
* <p> |
| 27 | 27 |
* This can happen on older OpenGL ES 2.0 devices if they, say, do not support variable loops in the shaders. |
| src/main/java/org/distorted/library/exception/VertexUniformsException.java | ||
|---|---|---|
| 21 | 21 |
|
| 22 | 22 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
| 23 | 23 |
/** |
| 24 |
* Thrown by {@link org.distorted.library.Distorted#onSurfaceCreated(android.opengl.GLSurfaceView)}
|
|
| 24 |
* Thrown by {@link org.distorted.library.Distorted#onSurfaceCreated(android.content.Context)}
|
|
| 25 | 25 |
* if compilation of the Vertex Shader fails because of too many uniforms there, i.e. because |
| 26 | 26 |
* we have set {@link org.distorted.library.Distorted#setMaxVertex(int)} to too high value.
|
| 27 | 27 |
*/ |
Also available in: Unified diff
Correct Javadoc issues