Compare commits
No commits in common. "7bd011429baa5b01cb7ece9628b108544397a6ee" and "766c3d68fd9cb26c4de54bf2377228fea998edf4" have entirely different histories.
7bd011429b
...
766c3d68fd
5 changed files with 6 additions and 31 deletions
|
@ -1,8 +1,10 @@
|
||||||
|
---
|
||||||
# We'll use defaults from the LLVM style, but with 4 columns indentation.
|
# We'll use defaults from the LLVM style, but with 4 columns indentation.
|
||||||
BasedOnStyle: LLVM
|
BasedOnStyle: LLVM
|
||||||
IndentWidth: 4
|
IndentWidth: 4
|
||||||
|
---
|
||||||
Language: Cpp
|
Language: Cpp
|
||||||
# Force pointers to the type for C++.
|
# Force pointers to the type for C++.
|
||||||
DerivePointerAlignment: false
|
DerivePointerAlignment: false
|
||||||
PointerAlignment: Left
|
PointerAlignment: Left
|
||||||
|
---
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,2 @@
|
||||||
build
|
build
|
||||||
.vscode
|
.vscode
|
||||||
/.vs
|
|
||||||
|
|
24
README.de.md
24
README.de.md
|
@ -1,24 +0,0 @@
|
||||||
# ParadisSO - eine minimale 2D-Grafikengine
|
|
||||||
|
|
||||||
**ParadiSO** wurde als stark abgespeckte 2D-Version meiner `pixwerx`-Engine konzipiert. *ParadiSO* ahmt einen minimalistischen Ansatz für 2D-Grafiken zu Bildungszwecken nach. Es verwendet modernes C++ und ein datengesteuertes Design, jedoch keine ECS (Entity Component System).
|
|
||||||
|
|
||||||
## Bildungszwecke
|
|
||||||
|
|
||||||
Einige Argumente für seinen Bildungsaspekt:
|
|
||||||
|
|
||||||
- Kombination verschiedener Konzepte und Paradigmen zur Erstellung ausdrucksstarker, aber knappen Codes
|
|
||||||
- Stark von Rust-Code inspiriert
|
|
||||||
- Für den mathematischen Code wird eine sofortige Auswertung verwendet, jedoch mit der Verwendung von `constexpr`, um eventuelle Performance-Overheads auszugleichen.
|
|
||||||
- Versteckt alte `C`-APIs hinter einer modernisierten Fassade
|
|
||||||
- Es lehnt sich stark an die STL und ihre Algorithmen an
|
|
||||||
|
|
||||||
## Minimalistisch
|
|
||||||
|
|
||||||
Da diese Engine einige Muster und Designkonzepte zeigen soll, versucht sie, unnötige Aufblähungen zu vermeiden.
|
|
||||||
|
|
||||||
## Abhängigkeiten
|
|
||||||
|
|
||||||
ParadiSO wird mit den notwendigen Komponenten geliefert. Diese sollte jedoch hier erwähnt werden:
|
|
||||||
|
|
||||||
- [GLFW 3.3.8](https://github.com/glfw/glfw)
|
|
||||||
- [GLAD](https://github.com/Dav1dde/glad)
|
|
|
@ -84,7 +84,7 @@ Rectangle Context::viewport() const { return impl_->viewport(); }
|
||||||
|
|
||||||
void Context::clear() { impl_->clear(); }
|
void Context::clear() { impl_->clear(); }
|
||||||
|
|
||||||
uint32_t Context::get_error() const { return impl_->get_error(); }
|
u_int32_t Context::get_error() const { return impl_->get_error(); }
|
||||||
|
|
||||||
RGBA Context::clearcolor() const { return impl_->clear_color_; }
|
RGBA Context::clearcolor() const { return impl_->clear_color_; }
|
||||||
|
|
||||||
|
|
|
@ -33,8 +33,6 @@
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#undef max
|
|
||||||
|
|
||||||
namespace paradiso {
|
namespace paradiso {
|
||||||
|
|
||||||
struct Renderer::impl {
|
struct Renderer::impl {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue