summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAge
* Psycho-rebased branch deform-terrain on top of mainDan Goodliffe2024-02-24
|\
| * Check ray intersects triangle 'in front' of startDan Goodliffe2024-02-14
| |
| * Add materializeRange override for naked iterator pairDan Goodliffe2024-02-12
| |
| * Cast relative position accordingly in geometric planeDan Goodliffe2024-02-12
| |
| * Add stripiterDan Goodliffe2024-02-12
| | | | | | | | | | A generic iterator wrapper returning a tuple of 3 references to the original values, as processed in the fashion of an OpenGL triangle strip.
* | Simplify vector addition/subtraction with differnt typesDan Goodliffe2024-02-24
|/ | | | | Automatically applies correct rounding with float to int operations, adjusts test expectations accordingly.
* Allow specifying a target other than array bufferDan Goodliffe2024-02-02
| | | | GL_ARRAY_BUFFER is the default. Also removes accidental use for OpenGL 4.x functions.
* 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.