Riyyi
55af11d831
Engine: Add constructor for raw data texture
2 years ago
Riyyi
aedb1a5fc9
Everywhere: Add copyright headers
2 years ago
Riyyi
8a03d84580
Engine: Switch inferno/io/log.h => ruc/format/log.h
2 years ago
Riyyi
b72da1278d
Engine: Run clang-format
2 years ago
Riyyi
766f24d6b9
Engine: Switch to ASSERT macro to ruc's VERIFY
2 years ago
Riyyi
6b0095dadf
CMake: Move source directory to project root
2 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
8f7665b8a3
Implement singleton class in all singletons
3 years ago
Riyyi
4467d0d40a
Add std::move to the resource managers
3 years ago
Riyyi
58afdbeae6
Re-add stb dependency in the new location
3 years ago
Riyyi
e044397e88
Omit copy constructors for strings in constructors
3 years ago
Riyyi
230e866e7a
Improve debug logging API
3 years ago
Riyyi
09b15f6d4f
Move file/input/log to io directory, rename assertions to assert
3 years ago
Riyyi
217502d45c
#include <> should only be used for system directories
3 years ago
Riyyi
57a34b8be1
Add singleton to shader and texture manager
3 years ago
Riyyi
b0d2ef2b93
Add setting texture unit in bind()
3 years ago
Riyyi
9aee7e391d
Add texture class and texture test
3 years ago