Riyyi
aedb1a5fc9
Everywhere: Add copyright headers
2 years ago
Riyyi
b72da1278d
Engine: Run clang-format
2 years ago
Riyyi
722bdd82b1
Engine: Change include guards to #pragma once
2 years ago
Riyyi
4af037a7fb
Engine: Switch to ruc's singleton
2 years ago
Riyyi
6b0095dadf
CMake: Move source directory to project root
2 years ago
Riyyi
7401936016
Initialize raw pointers as nullptr
3 years ago
Riyyi
0b57ee3a9f
Remove const ref std::shared_ptr
...
Taking a const std::shared_ptr& doesnt make sense, as it doesnt increase the
reference count and the object inside the pointer is still modifiable.
Return std::shared_ptr by value, returning by reference wont increase the
reference count and RVO (return value optimization) makes the const concern
moot.
3 years ago
Riyyi
50a438e340
Cleanup
3 years ago
Riyyi
8f7665b8a3
Implement singleton class in all singletons
3 years ago
Riyyi
3ce136741d
Improve API regarding server-side GL capabilities, fix font transparency
3 years ago
Riyyi
98785fa182
Rename folders to singular form
3 years ago
Riyyi
b402506a11
Split components into separate files
3 years ago
Riyyi
e08eec3b36
Dont use new keyword with unique_ptr
3 years ago
Riyyi
eea20285e4
Remove unused parameter
3 years ago
Riyyi
6fb114cbd4
Remove old transform class
3 years ago
Riyyi
aba518bbbb
Remove old camera class
3 years ago
Riyyi
e95d3a560e
Add font batch renderer
3 years ago
Riyyi
29620c141e
Convert copy-list-initialization to direct-list-initialization
...
Good place to see the different types of initialization:
https://en.cppreference.com/w/cpp/language/explicit
3 years ago
Riyyi
b8438ad3e7
Convert Renderer2D to singleton pattern
3 years ago
Riyyi
fafc831d4e
Use the shader manager singleton in the renderer
3 years ago
Riyyi
3dc21abe17
Convert some shared to unique pointers
3 years ago
Riyyi
cc4464558a
Add batch rendering functionality to Renderer2D
3 years ago
Riyyi
0b9f4715fc
Add RenderBundle struct and submit()
3 years ago
Riyyi
81751442bb
Add simple renderer class, add example implementation
4 years ago