Stephen Gold
618e890ddb
Fix issue 1360: ArmatureDebugAppState causes OpenGLException
5 years ago
Stephen Gold
f71c312338
Fixes issue #1350 for getters (MorphTrack documentation)
5 years ago
Stephen Gold
e09adbf014
Fixes issue #1350 (MorphTrack documentation)
5 years ago
Stephen Gold
415a52df51
convert tabs to blanks in FixedScale100.frag
5 years ago
Stephen Gold
a150deb8be
improve format and rm trailing whitespace (10 files in com.jme3.opencl)
5 years ago
Stephen Gold
1fa283f06a
correct the javadoc of Matrix4f.set(float[][]) -- missing "not"!
5 years ago
Stephen Gold
06a8a056c1
clarify the javadoc of Quaternion.toString() "displaced"?
5 years ago
Stephen Gold
d99c378bdc
add missing javadoc tags to BufferUtils
5 years ago
Stephen Gold
33ebbef214
add some missing javadoc (2 files in com.jme3.util)
5 years ago
Stephen Gold
e1d5e3c64d
FastMathTest: test the reversibility of coordinate transformations
5 years ago
Stephen Gold
a1fb4837f5
add missing javadoc tags to 10 files in the com.jme3.math package
5 years ago
Stephen Gold
72de37be21
resolve an unknown HTML tag in the ColorRGBA javadoc
5 years ago
Stephen Gold
4731069110
javadoc correction: Quaternion.negate() doesn't "invert" anything
5 years ago
Stephen Gold
8896cd5a68
don't refer to transforms as "matrices" in the Transform javadoc
5 years ago
Stephen Gold
ede7af0573
remove the javadoc reference to the mythical USE_FAST_TRIG setting
5 years ago
Stephen Gold
a124fcd284
remove all javadoc references to the mythical JmeException
5 years ago
Stephen Gold
e98df18a9c
improve formatting and rm trailing whitespace (16 files in jme3-core)
5 years ago
Stephen Gold
ce862bc09e
IndexBuffer: resolve a javadoc warning
5 years ago
matthias plasser
c85e2bcfd4
Fixes #1341 : AudioBuffer.updateData only allows direct buffers ( #1342 )
...
* only allowing direct buffers now, see: https://hub.jmonkeyengine.org/t/solved-playing-audio-from-audiobuffer-in-audionode-causes-jre-to-die/43091/12
* style correction
Co-authored-by: Stephen Gold <sgold@sonic.net>
5 years ago
Stephen Gold
98a283beb6
remove unnecessary casts and tests for null, discovered using NetBeans ( #1285 )
5 years ago
rvandoosselaer
ded268a660
Add a check to see if the NB_PROBES identifier is defined. Fixes #1340
5 years ago
Riccardo Balbo
6d2ea28108
Fix last query not closed in profiler
5 years ago
Stephen Gold
969e2808e4
correct some typographic errors in Billboard100.frag comments
5 years ago
Stephen Gold
efc9c443de
elimiate incidental hard tabs from jme3-core
5 years ago
MeFisto94
828ca9212a
UBO: Re-order the caps detection for a more clean code.
5 years ago
MeFisto94
5100d0b995
UBO: GL_INVALID_ENUM on Mesa
5 years ago
MeFisto94
66f316b3aa
Fixes SSBO causing GL_INVALID_ENUM in Debug Mode
5 years ago
MeFisto94
f68d88937f
GLSLCompat: The Matrix3 Sub-Constructor is called mat3_sub and defers to the builtin mat3 if available.
5 years ago
MeFisto94
728a07a25f
Fixing PBR on <= GLSL 130:
...
- GLSLCompat now implements mat3(mat4) and determinant() and inverse() for mat2 and mat3
- PBR.glslib uses this functions again instead of one-off workarounds
5 years ago
MeFisto94
4c2c3fa375
GLDebug: Throw an IllegalArgumentException instead of an IllegalStateException
5 years ago
MeFisto94
00281b21a1
GLDebug: Throw an unchecked exception instead of returning null to enforce a crash when glGetError is not present.
5 years ago
MeFisto94
b00c245e8e
GLDebug: Use a method handle instead of a string comparison to increase the performance
5 years ago
Stephen Gold
9be8f5dd3a
Use a reflection-based approach to call checkError() after every call to the openGL API to reduce Code Duplication and increase Maintainability, while also fixing the regression caused by GLDebugDesktop extending from GLDebugES and thus making the Renderer think it is on mobile.
5 years ago
MeFisto94
9dfbcde88c
Fixes #1304 - Don't use mat3() constructor to keep compatibility with GLSL110
5 years ago
Stephen Gold
fecd018fae
BufferUtils: resolve issue #1288 (rewrite isDirect()) ( #1299 )
5 years ago
Stephen Gold
b102eabb56
Fixes issue #1286
5 years ago
Ali-RS
78779ffe0a
Removed extra PostShadow Technique from PBRLighting.j3md ( #1273 )
5 years ago
Toni Helenius
9002d088e7
Issue 801 ( #1269 )
...
* Test case for issue #801
* Reset the context with the initial values
5 years ago
Ryan McDonough
753c3cc173
PreShadow & PostShadow Support for PBRLighting.j3md ( #1265 )
...
* Update PBRLighting.j3md
* Create PreShadowPBR.frag
* Create PostShadowPBR.frag
5 years ago
Riccardo Balbo
2e30b24438
Fix #1236 non-lvalue cannot be out parameter
5 years ago
Stephen Gold
bd1b6d284c
com.jme3.scene.shape.Line: protect the no-argument constructor ( #1234 )
5 years ago
Stephen Gold
8a04afd7a1
AnimControl: correct javadoc for the no-arg constructor ( #1233 )
5 years ago
Stephen Gold
f9d2e03362
Mesh: avoid NPE in getMorphTargets() when there are no targets ( #1231 )
5 years ago
Stephen Gold
98f6d326e1
re-publicize InstancedGeometry no-arg constructor, correct erroneous javadoc ( #1230 )
...
* re-publicize 3 no-arg constructors, correct/remove erroneous javadoc
* re-protect 2 no-arg constructors, restore javadoc
5 years ago
Stephen Gold
9d2d393fc3
protect 47 no-arg constructors in the jme3-core library ( #1228 )
5 years ago
Paul Speed
c73fd99dd6
Fixed the null child check to throw IllegalArgumentException instead of NullPointerException
...
because user code should never throw NullPointerException.
Also made trying to add a child to itself an error instead of a no-op. Attempting
to do something like guiNode.attachChild(guiNode) will now throw an IllegalArgumentException.
5 years ago
Paul Speed
c23f28b51c
Modified Line to keep its own start/end instances. This is less of a surprise if
...
a user later chooses to call updatePoints() after having created the line with
JME constants... since updatePoints() would actually call set() instead of just
replacing the references. The constructor and updatePoints() should match and I chose
to err on the side of caution and make them both operate on local instances.
5 years ago
Paul Speed
45b1908906
Added an app state that will verify some of the JME constants (easy to expand later)
...
to see if they've changed in the current frame. SimpleApplication will configure
this by default to use asserts but the application is free to change it to throw
regular exceptions or just log the error as desired.
5 years ago
joliver82
30df2f1b87
Android morph fix ( #1221 )
...
* Fixed MorphAnim.glsllib to compile on android and avoid enabling GL_VERTEX_PROGRAM_POINT_SIZE in android as it's not supported
5 years ago
Matthew Universe
48f28974f9
Closes #1210 Quaternion.lookAt now has a return value ( #1223 )
5 years ago