Luke Benstead
ea25251944
Optimisations
2021-04-20 16:08:58 +01:00
Luke Benstead
b6a5ac6ce6
Optimisation in aligned_vector_extend
2021-04-19 21:29:19 +01:00
Luke Benstead
71c25829f1
Remove reference to private.h
2020-03-18 20:33:04 +00:00
Hayden Kowalchuk
19374bc1a4
chore: change containers
...
- move some math to integer
- inline some smaller functions
- whitespace fixes
2020-03-05 14:44:09 -05:00
Luke Benstead
093b1af056
Add some assertions to aligned_vector
2019-03-28 13:08:23 +00:00
Luke Benstead
26c943c548
Optimize memory allocations
2019-03-13 07:28:23 +00:00
Luke Benstead
3e1ed8a5f7
Don't reserve more space than we need
2019-03-06 08:31:06 +00:00
Luke Benstead
b9f8fe4a4d
Clean up the memalign switching a bit
2018-10-18 09:54:34 +01:00
Hayden Kowalchuk
0718ab0697
Fix compilation windows targets
2018-10-16 01:00:34 -04:00
Luke Benstead
8b834ac3f1
Avoid an additional copy of every vertex. Fixes #22
2018-08-21 09:37:19 +01:00
Luke Benstead
ba66608a96
Add a basic profiler and optimise some code
2018-08-16 17:51:15 +01:00
Luke Benstead
2067115385
Handle multiple triangle strips with single-vertices behind the plane
2018-07-10 20:27:15 +01:00
Luke Benstead
ae335eeff1
Large refactor of vertex submission
...
This should be much faster as matrix loading is now minimized. Also splits transform from perspective divisionn
to lay the groundwork for near-z clipping. This also fixes GL_POLYGON submission.
Lighting can be made faster, this doesn't change the lighting algorithm, but the matrix changes should speed things up.
2018-07-09 08:57:01 +01:00
Luke Benstead
fef6387120
Move the initial capacity definition to the header file
2018-05-28 07:16:50 +01:00
Luke Benstead
c363a37e30
Fix the containers to compile on C89 and C99
2018-05-26 19:17:42 +01:00