[uLib Geometry]

non working version!

+ adds ProgrammableAccessor
+ renaming of some Image structures ...
This commit is contained in:
Andrea Rigoni
2014-11-03 10:27:52 +00:00
commit 99e771a223
403 changed files with 61684 additions and 0 deletions

42
tmp/c_vtable/main.c Normal file
View File

@@ -0,0 +1,42 @@
#include "Object.h"
#include "Vector.h"
#include <stdio.h>
#ifdef __cplusplus
using namespace ltk;
int main()
{
Object ob;
printf("%d\n",ob.Get());
Vector vec;
printf("%d\n",vec.Get());
return 0;
}
#else
static inline do_main() {
Object ob = ltk_object_new();
printf("%d\n",OBJECT_CLASS->get(ob));
Vector vec = ltk_vector_new();
printf("%d\n",VECTOR_CLASS->get(vec));
}
int main()
{
do_main();
return 0;
}
#endif