Unittests and demos update
-fixed bug in EntityManager -added better support for non-betterC unittests -added many new unittests -slightly improved JUnit xml output -fixed WASM compile script -added new textures -fixed model texture coordinaes in demos -some minor bug fixes in demo TODO: demos cpu usage in non-betterC mode
This commit is contained in:
parent
46530ff45b
commit
84e04191c8
13 changed files with 453 additions and 51 deletions
|
|
@ -138,6 +138,7 @@ struct CountSystem
|
|||
struct EntitiesData
|
||||
{
|
||||
uint length;
|
||||
const (Entity)[] entity;
|
||||
}
|
||||
|
||||
bool onBegin()
|
||||
|
|
@ -749,7 +750,7 @@ void loadGFX()
|
|||
GfxConfig.materials = Mallocator.makeArray!Material(1);
|
||||
GfxConfig.meshes = Mallocator.makeArray!Mesh(1);
|
||||
|
||||
float[16] vertices = [-0.5,-0.5, 0,0, -0.5,0.5, 0,1, 0.5,-0.5, 1,0, 0.5,0.5, 1,1];
|
||||
float[16] vertices = [-0.5,-0.5, 0,1, -0.5,0.5, 0,0, 0.5,-0.5, 1,1, 0.5,0.5, 1,0];
|
||||
GfxConfig.meshes[0].vertices = Mallocator.makeArray(vertices);
|
||||
ushort[6] indices = [0,1,2,1,2,3];
|
||||
GfxConfig.meshes[0].indices = Mallocator.makeArray(indices);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue