summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAge
* Add linesIntersectAt functionDan Goodliffe13 days
| | | | 2 dimensional line intersection point
* Throw if input stream not in good state reading JSONHEADmainDan Goodliffe2024-11-05
|
* Update CLOG to be implemented as a functionDan Goodliffe2024-11-05
| | | | Forces capture of value before outputting anything
* Update operator<< for collections to work with rangesDan Goodliffe2024-11-05
|
* Add stream support for tuplesDan Goodliffe2024-10-27
|
* Improve sun illumination based on angular size and astronomical twilightDan Goodliffe2024-10-24
|
* Merge branch 'billboard-shadows'Dan Goodliffe2024-10-22
|\
| * Further template maths functionsDan Goodliffe2024-10-21
| |
| * Move lots of maths helpers to inline, constexpr, templatesDan Goodliffe2024-10-20
| | | | | | | | Always for working with different dimensions/types
| * Simple constexpr pow functionDan Goodliffe2024-10-17
| |
| * Add rotate_yp taking two separate parametersDan Goodliffe2024-10-05
| |
* | Fix type of filehandle mode parameterDan Goodliffe2024-10-21
|/
* Add helper to quickly parse an ISO date/timeDan Goodliffe2024-09-19
|
* Add new mathematical constants to libDan Goodliffe2024-09-19
|
* Create standalone composed shader file and format it and the C++ codeDan Goodliffe2024-08-10
|
* Add missing truthy/falsy operators to AnyPtrDan Goodliffe2024-08-10
|
* Help exception class for lazy/cached message contentDan Goodliffe2024-08-04
|
* Tidy many stringy messes with std::formatDan Goodliffe2024-06-04
|
* Tidy of glRefDan Goodliffe2024-06-04
| | | | Still doesn't fix the weird LTO warning about uninitialised variables
* Disable -Wenum-constexpr-conversion in parts of enumDetails.hDan Goodliffe2024-06-01
| | | | The parts used for finding valid values trigger constexpr invalid values warnings.
* Reformat with new clang-formatDan Goodliffe2024-06-01
|
* Add missing includeDan Goodliffe2024-06-01
|
* 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