bigby
Advanced tools
Comparing version 0.10.1 to 0.10.2
@@ -7,5 +7,6 @@ 'use strict'; | ||
var math = require('@bigby/math'); | ||
var physics3d = require('@bigby/physics3d'); | ||
var ticker = require('@bigby/ticker'); | ||
var webgl2 = require('@bigby/webgl2'); | ||
var pluginPhysics3d = require('@bigby/plugin-physics3d'); | ||
var pluginInput = require('@bigby/plugin-input'); | ||
var pluginTicker = require('@bigby/plugin-ticker'); | ||
var pluginWebgl2 = require('@bigby/plugin-webgl2'); | ||
var glMatrix = require('gl-matrix'); | ||
@@ -103,8 +104,3 @@ | ||
var WebGL2Game = function WebGL2Game(app) { | ||
return app.addPlugin(ticker.TickerPlugin).addPlugin(core.TransformsPlugin).addPlugin(webgl2.WebGL2RenderingPlugin); | ||
}; | ||
exports.AutorotatePlugin = AutorotatePlugin; | ||
exports.WebGL2Game = WebGL2Game; | ||
Object.keys(core).forEach(function (k) { | ||
@@ -122,19 +118,25 @@ if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, { | ||
}); | ||
Object.keys(physics3d).forEach(function (k) { | ||
Object.keys(pluginPhysics3d).forEach(function (k) { | ||
if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { return physics3d[k]; } | ||
get: function () { return pluginPhysics3d[k]; } | ||
}); | ||
}); | ||
Object.keys(ticker).forEach(function (k) { | ||
Object.keys(pluginInput).forEach(function (k) { | ||
if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { return ticker[k]; } | ||
get: function () { return pluginInput[k]; } | ||
}); | ||
}); | ||
Object.keys(webgl2).forEach(function (k) { | ||
Object.keys(pluginTicker).forEach(function (k) { | ||
if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { return webgl2[k]; } | ||
get: function () { return pluginTicker[k]; } | ||
}); | ||
}); | ||
Object.keys(pluginWebgl2).forEach(function (k) { | ||
if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { return pluginWebgl2[k]; } | ||
}); | ||
}); |
@@ -7,5 +7,6 @@ 'use strict'; | ||
var math = require('@bigby/math'); | ||
var physics3d = require('@bigby/physics3d'); | ||
var ticker = require('@bigby/ticker'); | ||
var webgl2 = require('@bigby/webgl2'); | ||
var pluginPhysics3d = require('@bigby/plugin-physics3d'); | ||
var pluginInput = require('@bigby/plugin-input'); | ||
var pluginTicker = require('@bigby/plugin-ticker'); | ||
var pluginWebgl2 = require('@bigby/plugin-webgl2'); | ||
var glMatrix = require('gl-matrix'); | ||
@@ -103,8 +104,3 @@ | ||
var WebGL2Game = function WebGL2Game(app) { | ||
return app.addPlugin(ticker.TickerPlugin).addPlugin(core.TransformsPlugin).addPlugin(webgl2.WebGL2RenderingPlugin); | ||
}; | ||
exports.AutorotatePlugin = AutorotatePlugin; | ||
exports.WebGL2Game = WebGL2Game; | ||
Object.keys(core).forEach(function (k) { | ||
@@ -122,19 +118,25 @@ if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, { | ||
}); | ||
Object.keys(physics3d).forEach(function (k) { | ||
Object.keys(pluginPhysics3d).forEach(function (k) { | ||
if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { return physics3d[k]; } | ||
get: function () { return pluginPhysics3d[k]; } | ||
}); | ||
}); | ||
Object.keys(ticker).forEach(function (k) { | ||
Object.keys(pluginInput).forEach(function (k) { | ||
if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { return ticker[k]; } | ||
get: function () { return pluginInput[k]; } | ||
}); | ||
}); | ||
Object.keys(webgl2).forEach(function (k) { | ||
Object.keys(pluginTicker).forEach(function (k) { | ||
if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { return webgl2[k]; } | ||
get: function () { return pluginTicker[k]; } | ||
}); | ||
}); | ||
Object.keys(pluginWebgl2).forEach(function (k) { | ||
if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { return pluginWebgl2[k]; } | ||
}); | ||
}); |
@@ -1,9 +0,7 @@ | ||
import { TransformsPlugin } from '@bigby/core'; | ||
export * from '@bigby/core'; | ||
export * from '@bigby/math'; | ||
export * from '@bigby/physics3d'; | ||
import { TickerPlugin } from '@bigby/ticker'; | ||
export * from '@bigby/ticker'; | ||
import { WebGL2RenderingPlugin } from '@bigby/webgl2'; | ||
export * from '@bigby/webgl2'; | ||
export * from '@bigby/plugin-physics3d'; | ||
export * from '@bigby/plugin-input'; | ||
export * from '@bigby/plugin-ticker'; | ||
export * from '@bigby/plugin-webgl2'; | ||
import { quat } from 'gl-matrix'; | ||
@@ -101,6 +99,2 @@ | ||
var WebGL2Game = function WebGL2Game(app) { | ||
return app.addPlugin(TickerPlugin).addPlugin(TransformsPlugin).addPlugin(WebGL2RenderingPlugin); | ||
}; | ||
export { AutorotatePlugin, WebGL2Game }; | ||
export { AutorotatePlugin }; |
export * from "@bigby/core"; | ||
export * from "@bigby/math"; | ||
export * from "@bigby/physics3d"; | ||
export * from "@bigby/ticker"; | ||
export * from "@bigby/webgl2"; | ||
export * from "@bigby/plugin-physics3d"; | ||
export * from "@bigby/plugin-input"; | ||
export * from "@bigby/plugin-ticker"; | ||
export * from "@bigby/plugin-webgl2"; | ||
export * from "./plugins"; | ||
export * from "./templates"; |
@@ -9,3 +9,3 @@ { | ||
"description": "Make games, learn things.", | ||
"version": "0.10.1", | ||
"version": "0.10.2", | ||
"main": "dist/bigby.cjs.js", | ||
@@ -29,5 +29,6 @@ "module": "dist/bigby.esm.js", | ||
"@bigby/math": "^0.10.1", | ||
"@bigby/physics3d": "^0.10.1", | ||
"@bigby/ticker": "^0.10.1", | ||
"@bigby/webgl2": "^0.10.1", | ||
"@bigby/plugin-physics3d": "^0.10.2", | ||
"@bigby/plugin-input": "^0.10.1", | ||
"@bigby/plugin-ticker": "^0.10.1", | ||
"@bigby/plugin-webgl2": "^0.10.1", | ||
"gl-matrix": "^3.4.3" | ||
@@ -34,0 +35,0 @@ }, |
13407
7
9
380
+ Added@bigby/plugin-input@^0.10.1
+ Added@bigby/plugin-ticker@^0.10.1
+ Added@bigby/plugin-webgl2@^0.10.1
+ Added@bigby/plugin-input@0.10.1(transitive)
+ Added@bigby/plugin-physics3d@0.10.2(transitive)
+ Added@bigby/plugin-ticker@0.10.1(transitive)
+ Added@bigby/plugin-webgl2@0.10.1(transitive)
+ Added@dimforge/rapier3d-compat@0.10.0(transitive)
+ Added@shader-composer/core@0.0.0-canary-20221130162026(transitive)
+ Added@shader-composer/noise@0.0.0-canary-20221130162026(transitive)
- Removed@bigby/physics3d@^0.10.1
- Removed@bigby/ticker@^0.10.1
- Removed@bigby/webgl2@^0.10.1
- Removed@bigby/physics3d@0.10.1(transitive)
- Removed@bigby/ticker@0.10.1(transitive)
- Removed@bigby/webgl2@0.10.1(transitive)
- Removed@dimforge/rapier3d@0.10.0(transitive)
- Removedshader-composer@0.0.0-canary-20221129151046(transitive)