testing other registration methods for the registry
This commit is contained in:
parent
0809d9c54b
commit
6ee3732994
9 changed files with 139 additions and 126 deletions
|
@ -1,20 +1,34 @@
|
|||
#include "pw/core/core.hpp"
|
||||
#include "pw/core/debug.hpp"
|
||||
|
||||
//#include <GLFW/glfw3.h>
|
||||
namespace pw {
|
||||
|
||||
//#include <lua.hpp>
|
||||
//#include <lualib.h>
|
||||
template <typename T> struct module {
|
||||
|
||||
module() {
|
||||
debug::d() << __PRETTY_FUNCTION__;
|
||||
}
|
||||
|
||||
struct proxy {
|
||||
proxy() {
|
||||
debug::d() << __PRETTY_FUNCTION__;
|
||||
}
|
||||
};
|
||||
|
||||
static proxy _proxy;
|
||||
|
||||
};
|
||||
|
||||
template <typename T> typename module<T>::proxy module<T>::_proxy;
|
||||
|
||||
|
||||
#include "pw/core/matrixbase.hpp"
|
||||
//#include "pw/core/matrix.hpp"
|
||||
struct stuff {
|
||||
|
||||
};
|
||||
|
||||
|
||||
void test_matrixbase() {
|
||||
using namespace pw;
|
||||
module<stuff> mod;
|
||||
|
||||
// matrix4x4f m;
|
||||
|
||||
// m.set_identity();
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue