testing a ecs
This commit is contained in:
parent
47d28b4f1e
commit
8915080b64
20 changed files with 20419 additions and 101 deletions
24
src/scene/tests/pwscene_test_scene.cpp
Normal file
24
src/scene/tests/pwscene_test_scene.cpp
Normal file
|
@ -0,0 +1,24 @@
|
|||
#include <pw/core/vector.hpp>
|
||||
#include <pw/core/serialize.hpp>
|
||||
#include <pw/scene/node.hpp>
|
||||
#include <pw/scene/transform.hpp>
|
||||
#include <pw/scene/scene.hpp>
|
||||
#include <pw/scene/entity.hpp>
|
||||
|
||||
|
||||
#include <pw/core/serialize.hpp>
|
||||
|
||||
#include <iostream>
|
||||
|
||||
int main(int argc,char **argv) {
|
||||
|
||||
using pw::scene;
|
||||
|
||||
auto s = std::make_unique<scene>();
|
||||
|
||||
auto e = s->create_entity();
|
||||
|
||||
|
||||
// e.add_component<transform>();
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue