Improve Vector Maths
Release 0.13.2
Linear algebra library
This release introduce an initial implementations of hand-optimised SIMD linear algebra libraries, STPVector4d and STPMatrix4x4d. Currently it supports:
- Matrix transpose and inverse
- Matrix-matrix and matrix-vector multiplication
- Vector dot product
- Vector broadcast
- Vector addition and division
- Represent an equivalent 3-by-3 matrix
Tests are implemented and the linear algebra library passes all 103 assertions.
The new library is integrated into STPCascadedShadowMap and STPScenePipeline::STPCameraInformation.
General fixes and improvement
- Fulfilling license requirements for all redistributed external projects.
- Improve documentation on build instructions.
- Improve visuals for the project README document.
- Fix a bug in the
SuperDemo+build script which did not copySTPBiomeProperty.hppto the binary directory to be used by NVRTC. - Improve build script so it can group headers when opening from an IDE, i.e., MSVC.
- Attempt to group some source files to make it more developer-friendly.
Biome generator in STPBiome
- For simplification, remove the old
STPBiome, renameSTPBiomeSettingstoSTPBiome. - Refactor all biome variable names to avoid using all capital letters (which is supposed to be used by macros).
- Replace use of
std::vectorwithstd::arrayinSTPBaseBiomeLayer. - Change
STPBiomeRegistryfrom class to namespace. - Make all declarations of functions and variables in
STPBiomeRegistryas inline to enforce auto-initialised external linkage.