more toon stuff

pull/1/head
cosmonaut 2020-10-02 17:30:03 -07:00
parent eed61d126d
commit e29d9904ab
2 changed files with 10 additions and 2 deletions

2
Kav

@ -1 +1 @@
Subproject commit 2fb20747e4978d1b745cde76a1bcac452dfd34e7 Subproject commit a914c586b2b01dc2d103551365a9025326e77e3e

View File

@ -98,6 +98,14 @@ namespace KavTest
) )
); );
var cubeModel = Kav.ModelLoader.Load(
GraphicsDevice,
Smuggler.Importer.ImportGLB(
GraphicsDevice,
File.OpenRead("Content/cube.glb")
)
);
WorldBuilder.AddEngine(new InputEngine(this)); WorldBuilder.AddEngine(new InputEngine(this));
WorldBuilder.AddEngine(new AngularVelocityEngine()); WorldBuilder.AddEngine(new AngularVelocityEngine());
WorldBuilder.AddEngine(new MoveAlongCurve3DEngine()); WorldBuilder.AddEngine(new MoveAlongCurve3DEngine());
@ -155,7 +163,7 @@ namespace KavTest
), ),
new Vector3(1f, 1f, 1f) new Vector3(1f, 1f, 1f)
), ),
pinkConeModel cubeModel
)); ));
for (var i = 0; i < 1; i++) for (var i = 0; i < 1; i++)