Bug 1452

Summary: Decouple math functionality to 'com.jogamp.math' to be toolkit agnostic
Product: [JogAmp] Jogl Reporter: Sven Gothel <sgothel>
Component: coreAssignee: Sven Gothel <sgothel>
Status: RESOLVED FIXED    
Severity: normal CC: sgothel
Priority: P4    
Version: 2.6.0   
Hardware: All   
OS: all   
Type: FEATURE SCM Refs:
jogl 5d6e8a367c03644740187e500c6de5d3ac039d5e jogl cbb0035b5c5df6eada04e38a3478091cca0fe9c5 jogl 0110b2970935040aac5ee0bfa8757982c092b939 jogl 6c97c5fa201d221a37773db54994d27e34ba86c3
Workaround: ---

Description Sven Gothel 2023-09-20 19:50:15 CEST
Math functionality (PMVMatrix, Matrix4f, Vec4f, ..)
- shall be used toolkit agnostic, e.g. independent from OpenGL
- shall be reused within our upcoming Vulkan implementation
- may also move outside of JOGL, i.e. GlueGen or within its own package to be reused for other purposed.

The 'com.jogamp.opengl.util.PMVMatrix' currently also used to feed in GLUniformData
via the toolkit agnostic SyncAction and SyncBuffer
shall also be split to a toolkit agnostic variant.

An OpenGL PMVMatrix specialization implementing GLMatrixFunc can still exist,
being derived from the toolkit agnostic base implementation.
Comment 1 Sven Gothel 2023-09-20 20:16:12 CEST
jogl commit 5d6e8a367c03644740187e500c6de5d3ac039d5e

Initial commit .. compile clean, passing most unit tests
Comment 2 Sven Gothel 2023-09-24 01:06:45 CEST
Jogl part is complete.