Now lets build a small demo game!

This commit is contained in:
Hartmut Seichter 2023-07-01 10:54:20 +02:00
parent be6832cd24
commit d21f526290
4 changed files with 22 additions and 34 deletions

View file

@ -23,17 +23,18 @@
#ifndef PARADISO_CONTEXT_HPP
#define PARADISO_CONTEXT_HPP
#include <paradiso/globals.hpp>
#include <paradiso/geometry.hpp>
#include <paradiso/globals.hpp>
#include <paradiso/rgba.hpp>
namespace paradiso {
struct Context final {
Context();
~Context();
Context(const Context&) = delete;
Context(Context&&) = default;
Context& set_blend();
Context& set_depth();
@ -51,9 +52,8 @@ struct Context final {
uint32_t get_error() const;
struct impl;
private:
struct impl;
std::unique_ptr<impl> impl_;
};