summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAge
* Remove conflicting glm::vec operatorsDan Goodliffe2024-06-01
| | | | | | % and %= already exist and abusing them for simplifying perspective multiplication was always a bad idea. Here they just become named functions.
* Extract vector_normal helper into libDan Goodliffe2024-03-23
|
* Add helper constructors to ArcDan Goodliffe2024-03-21
| | | | | | * Two angles, wraps logic ensuring b after a * Two vector directions * Centre and two endpoints, in at least 2 dimensions, uses .xy()
* Make arc_length a member functionDan Goodliffe2024-03-21
|
* vector_yaw only needs 2 dimensionsDan Goodliffe2024-03-21
|
* Add non-default constructor to GeometricPlaneTDan Goodliffe2024-03-18
|
* Add Ray::intersectPlaneDan Goodliffe2024-03-18
|
* Fix non-64bit upgrade wrapper for crossProductDan Goodliffe2024-03-09
|
* Rework stream support to work with any collectionDan Goodliffe2024-03-08
|
* Add read persistence support for tuple and pairDan Goodliffe2024-02-26
|
* Support extra arguments in SelectionV::make_sDan Goodliffe2024-02-26
|
* 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
|