1278 Commits

Author SHA1 Message Date
Stephen Gold
ee910859ac javadoc corrections: Vector4f differs from Vector3f, has 4 components! 2020-04-18 13:52:09 -07:00
Stephen Gold
5a2499ccbe improve formatting & rm trailing whitespace (21 files in com.jme3.math) 2020-04-18 13:46:44 -07:00
Stephen Gold
4c62d5008e add missing javadoc tags to BufferUtils 2020-04-18 13:25:44 -07:00
Stephen Gold
4d81fc6035 add some missing javadoc (2 files in com.jme3.util) 2020-04-18 13:15:08 -07:00
Stephen Gold
607e068f76 FastMathTest: test the reversibility of coordinate transformations 2020-04-17 13:00:26 -07:00
Stephen Gold
bb7d2cab01 add missing javadoc tags to 10 files in the com.jme3.math package 2020-04-17 12:11:07 -07:00
Stephen Gold
6cbf62a3b5 resolve an unknown HTML tag in the ColorRGBA javadoc 2020-04-17 11:04:02 -07:00
Stephen Gold
03673ac1f7 add some missing javadoc (13 files in com.jme3.math) 2020-04-17 10:44:29 -07:00
Stephen Gold
32ab16e026 javadoc correction: Quaternion.negate() doesn't "invert" anything 2020-04-17 00:07:37 -07:00
Stephen Gold
84836c6260 don't refer to transforms as "matrices" in the Transform javadoc 2020-04-16 23:50:25 -07:00
Stephen Gold
851793cde6 improve formatting & rm trailing whitespace (5 files in com.jme3.scene) 2020-04-16 23:14:35 -07:00
Stephen Gold
bee3d36f16 remove the javadoc reference to the mythical USE_FAST_TRIG setting 2020-04-16 22:12:51 -07:00
Stephen Gold
50dc8349a1 remove all javadoc references to the mythical JmeException 2020-04-16 22:07:21 -07:00
Stephen Gold
e99c8a74a3 improve formatting and rm trailing whitespace (16 files in jme3-core) 2020-04-16 21:46:31 -07:00
Stephen Gold
1c3ed5122f suppress still more javac warnings about unchecked casts 2020-04-15 18:22:18 -07:00
Stephen Gold
70ae48af1e avoid using raw types 2020-04-15 18:18:58 -07:00
Stephen Gold
822bcd1300 suppress more javac warnings about unchecked casts 2020-04-15 17:33:59 -07:00
Stephen Gold
297443ada4 suppress javac warnings about unchecked casts in read() and write() 2020-04-15 16:51:48 -07:00
Stephen Gold
60967b9f04 IndexBuffer: resolve a javadoc warning 2020-04-15 13:35:55 -07:00
ItsMike54
6c5611d3e2
Remove jogl (#1339)
* Remove JOGL

* Update build.gradle

* Update AppSettings.java

* Update settings.gradle

* Update TestMultipleApplications.java

* Update build.gradle

* Update JmeDesktopSystem.java

* Update AppSettings.java

* Update package-info.java

* Update TestApplet.java

* Update HelloOpenCL.java

* Update TestContextSwitching.java

* Update TestOpenCLLibraries.java

* Update TestVertexBufferSharing.java

* Update TestWriteToTexture.java

* Update TestMultiPostWater.java

Co-authored-by: Mike Burnett <mikejme4@gmail.com>
2020-04-15 12:55:50 -07:00
matthias plasser
89df7909d3
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>
2020-04-15 12:33:39 -07:00
rvandoosselaer
76210fe415 Add a check to see if the NB_PROBES identifier is defined. Fixes #1340 2020-04-13 16:02:06 -07:00
Riccardo Balbo
d109e4739e Fix last query not closed in profiler 2020-04-10 22:52:19 +02:00
Stephen Gold
b8287a2d0d correct some typographic errors in Billboard100.frag comments 2020-04-07 16:23:22 -07:00
Stephen Gold
51022fd521 elimiate incidental hard tabs from jme3-core 2020-04-07 10:51:33 -07:00
MeFisto94
0115616652 UBO: Re-order the caps detection for a more clean code. 2020-04-04 17:19:10 +02:00
MeFisto94
64797f9bff UBO: GL_INVALID_ENUM on Mesa 2020-04-04 16:19:56 +02:00
MeFisto94
21b7a71cf8 Fixes SSBO causing GL_INVALID_ENUM in Debug Mode 2020-04-04 15:41:36 +02:00
MeFisto94
646e6741b9 GLSLCompat: The Matrix3 Sub-Constructor is called mat3_sub and defers to the builtin mat3 if available. 2020-04-04 14:07:58 +02:00
MeFisto94
2276197a2b 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
2020-04-04 13:44:10 +02:00
MeFisto94
2379cfba77
Merge pull request #1276 from MeFisto94/fix-gldebug
Fixes #1272 - Improve GLDebugDesktop by reducing manual overrides
2020-04-04 03:09:19 +02:00
MeFisto94
df39677381 GLDebug: Throw an IllegalArgumentException instead of an IllegalStateException 2020-04-04 02:50:31 +02:00
MeFisto94
461227bdef Fixes #1304 - Don't use mat3() constructor to keep compatibility with GLSL110 2020-04-02 23:07:33 +02:00
Riccardo Balbo
728a05c4f3 lambda 🎉 2020-04-02 14:56:49 +02:00
Ali-RS
0c6f240222
Check culling on the instanced geometries. (#1315) 2020-04-02 10:47:11 +04:30
MeFisto94
4d81d00f45 GLDebug: Throw an unchecked exception instead of returning null to enforce a crash when glGetError is not present. 2020-04-01 19:45:37 +02:00
MeFisto94
312fb5bb57 GLDebug: Use a method handle instead of a string comparison to increase the performance 2020-04-01 14:23:01 +02:00
Daniel Perano
0aa50a0f15 Expose ViewPorts
This commit allows EnvironmentCamera users to access the ViewPorts used
for rendering the snapshots. This allows incorporating screenspace and other
SceneProcessor-based effects into the snapshots as well as the scene geometry.
2020-03-16 00:28:44 -07:00
Lou Hamersly
c1d359ca59
Fix #1289 Matrix3f/Matrix4f equals() should require an exact class match (#1302) 2020-02-25 15:14:03 -08:00
Stephen Gold
8e334aa756
BufferUtils: resolve issue #1288 (rewrite isDirect()) (#1299) 2020-02-24 08:40:02 -08:00
Stephen Gold
f652591281
remove unnecessary casts and tests for null, discovered using NetBeans (#1285)
* remove unnecessary tests for null, discovered using NetBeans

* jme3-core: remove unnecessary casts

* jme3-examples: remove unnecessary casts

* jme3-vr: remove unnecessary casts

* jme-plugins: remove unnecessary casts

* jme3-terrain: remove unnecessary casts

* jme3-desktop: remove unnecessary casts

* jme3-android: remove unnecessary casts

* remove unnecessary casts, discovered using NetBeans

* TerrainQuad: back out one casting delta that's not a removal

* TerrainPatch: simplify generateLodEntropies() after removal of the cast

* TerrainPatch: simplify reIndexGeometry() after removal of the cast
2020-02-13 10:21:51 -08:00
MeFisto94
12481c08f6 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. 2020-02-12 23:56:06 +01:00
MeFisto94
ab96460853
Fix small things (#1287)
* JmeVersion: Don't throw a NullPointerException when version.properties can't be found.

* ImplHandler: Reduce Code-Duplication by using a multi-catch statement
2020-02-12 10:48:46 -08:00
Stephen Gold
f268d00222 Fixes issue #1286 2020-02-10 05:35:59 -08:00
Paul Speed
5584c93d4a
Merge pull request #1282 from stephengold/master
re-assign Simsilica LLC copyrights with Paul's permission (issue #1001)
2020-02-07 17:09:12 -05:00
MeFisto94
8219d7fc02
Add two convenience flags to AppSettings: GraphicsTrace and GraphicsTiming. (#1279) 2020-02-03 17:56:36 -08:00
Stephen Gold
dde0906963 re-assign Simsilica LLC copyrights with Paul's permission (issue #1001) 2020-02-02 23:27:43 -08:00
MeFisto94
acbddc2763
Merge pull request #1252 from MeFisto94/add-opengl31-lwjgl
Fixes #1251 - Support OpenGL3.1 on LWJGL2 and LWJGL3
2020-02-01 14:29:51 +01:00
Stephen Gold
0fd70b81c9
Add missing @Override annotations (#1270)
* jme3-core: add the missing @Override annotations

* jme3-desktop: add the missing @Override annotations

* jme3-bullet and jme3-jbullet: add the missing @Override annotations

* jme3-effects: add the missing @Override annotations

* jme3-terrain: add the missing @Override annotations

* jme3-examples: add the missing @Override annotations

* jme3-android: add the missing @Override annotations

* jme3-blender: add the missing @Override annotations

* jme3-ios: add the missing @Override annotations

* jme3-jogg and jme3-jogl: add the missing @Override annotations

* jme3-plugind: add the missing @Override annotations

* jme3-lwjgl and jme3-lwjgl3: add the missing @Override annotations

* jme3-networking: add the missing @Override annotations

* jme3-vr: add the missing @Override annotations
2020-01-30 09:16:47 -08:00
Ali-RS
2023440acf
Removed extra PostShadow Technique from PBRLighting.j3md (#1273) 2020-01-29 01:31:22 -08:00