summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAge
* Map buffers RO if const operations, upgrade to RW as requiredDan Goodliffe2024-02-02
|
* Don't keep a span, create as neededDan Goodliffe2024-02-02
| | | | | Removes the error prone issue where data/size get out of sync. Fixes overflow issues leading to memory corruption of GPU data.
* Fix warnings in test-glContainerDan Goodliffe2024-02-02
| | | | Also updates static asserts to requirements
* Add traits vertex attrib func override for arraysDan Goodliffe2024-01-27
| | | | Address limitation on size when specifying arrays of glm::vec
* Support constructing a glContainer from a collection of the same typeDan Goodliffe2024-01-27
|
* Remove the generic cache completelyDan Goodliffe2024-01-26
|
* Add traits helpers for glTexParameter functionsDan Goodliffe2024-01-25
|
* Replace static_asserts with conceptsDan Goodliffe2024-01-25
|
* Add missing support for glUniform simple span of numbersDan Goodliffe2024-01-22
|
* String view/constexpr Shader instancesDan Goodliffe2024-01-21
| | | | Gonna need more constexpr stuff and strstr/strlen aren't that
* Add traits wrapper for setting uniformsDan Goodliffe2024-01-14
|
* We only need 3x3 matrix for model rotation specDan Goodliffe2024-01-13
|
* Add glContainer::at override to update a single itemDan Goodliffe2024-01-13
|
* Use std::span for iterator/data pointer in glContainerDan Goodliffe2024-01-13
|
* Default destructor for trivial types of glContainerDan Goodliffe2024-01-13
|
* Adding missing copy/move operations to glContainerDan Goodliffe2024-01-13
|
* Integer support in persistenceDan Goodliffe2024-01-09
| | | | | Splits bool and arithmatic types, pass arithmatic values as string views from JSON and parse according to the target type.
* Simplify find_arcs_radiusDan Goodliffe2024-01-07
| | | | | Removes the second half of the problem that had been previously zero'd when adjusting to relative positions
* Global positions in network dataDan Goodliffe2024-01-07
|
* Template Ray on position typeDan Goodliffe2024-01-07
|
* Unified crossProductDan Goodliffe2024-01-07
|
* Helper to create a cubiod from dimensionsDan Goodliffe2024-01-06
|
* Template GeometicPlane on Position typeDan Goodliffe2024-01-05
|
* Inline functions of GeometricPlaneDan Goodliffe2024-01-05
|
* Remove more use of legacy typesDan Goodliffe2024-01-01
|
* Templatise functions in maths.h using PositionNDDan Goodliffe2023-12-29
|
* Remove misleading power operator^ on vec2/3Dan Goodliffe2023-12-29
|
* Remove weird operator! on vec2/3Dan Goodliffe2023-12-29
|
* Add crossInt - cross product for integer vectorsDan Goodliffe2023-12-02
|
* Model positions as integersDan Goodliffe2023-11-25
| | | | | Introduces test failure in arcs due to rounding, but I don't want to create a complicated fix as link positions are still floats and hopefully that'll go away... somehow
* Remove getTransformDan Goodliffe2023-11-25
|
* Add Location method for getting the rotation only transformDan Goodliffe2023-11-11
|
* WIP typedefing all the things - sourcesDan Goodliffe2023-11-09
|
* WIP typedefing all the things - headersDan Goodliffe2023-11-07
|
* Reformat with new clang-formatDan Goodliffe2023-11-07
|
* Swap GLEW for more modern gladDan Goodliffe2023-05-28
|
* Refactor InstanceVertices in terms of glContainerDan Goodliffe2023-05-01
|
* Don't explictly call destructor of contained elementDan Goodliffe2023-05-01
|
* Add the pack containerDan Goodliffe2023-05-01
| | | | Keeps its elements densely packed together without any interest in order
* Add method to get GL buffer name of glContainerDan Goodliffe2023-05-01
|
* glContainer should at least double in capacity as requiredDan Goodliffe2023-05-01
|
* Extend glContainer with most of the interface expected of an STL containerDan Goodliffe2023-05-01
|
* Initial commit of glContainerDan Goodliffe2023-04-30
| | | | A std::vector like container backed by an OpenGL buffer.
* Rename strings.h to something that won't conflict with a system headerDan Goodliffe2023-04-30
|
* Reformat with new clang-format 16Dan Goodliffe2023-04-29
|
* Drop .hpp for header only thingsDan Goodliffe2023-04-29
| | | | Half of them acquired a .cpp part anyway
* Add getTransform to Location; wraps the standard mat4 calculationsDan Goodliffe2023-04-23
|
* Fixup vertexAttribFunc for matricesDan Goodliffe2023-04-19
|
* Specialize vertexAttribFunc for matrices because there's an upper limit of ↵Dan Goodliffe2023-04-18
| | | | size 4 on attrib pointers
* Current thread partakes in work effort while waitingDan Goodliffe2023-04-14
| | | | This will prevent deadlock if the work pool is otherwise busy by ensuring work is always being done