Update public site with latest JavaScript demos.

It has been a while, we've made a fix to our KTX writer, added a helmet
demo, etc.
This commit is contained in:
Philip Rideout
2019-03-08 17:49:28 -08:00
parent f1f9fde3a4
commit 64f2a580da
47 changed files with 209 additions and 24 deletions
+4 -4
View File
@@ -31,10 +31,10 @@ class App {
const mat = engine.createMaterial('triangle.filamat');
const matinst = mat.getDefaultInstance();
Filament.RenderableManager.Builder(1)
.boundingBox([
[-1, -1, -1],
[1, 1, 1]
])
.boundingBox({
center: [-1, -1, -1],
halfExtent: [1, 1, 1]
})
.material(0, matinst)
.geometry(0, Filament.RenderableManager$PrimitiveType.TRIANGLES, this.vb, this.ib)
.build(engine, this.triangle);