/** * Shape Superset - The apiShape properties get moved into the Shape object itself, and then the instance is created * @param physics * @param apiShape GameLib.D3.API.Shape * @constructor */ GameLib.D3.Shape.Plane = function ( physics, apiShape ) { this.physics = physics; this.physics.isNotCannonThrow(); GameLib.D3.Shape.call( this, this.physics, apiShape ); }; GameLib.D3.Shape.Plane.prototype = Object.create(GameLib.D3.Shape.prototype); GameLib.D3.Shape.Plane.prototype.constructor = GameLib.D3.Shape.Plane; /** * * @returns {GameLib.D3.Shape.Plane|*|SEA3D.Plane} */ GameLib.D3.Shape.Plane.prototype.createInstance = function() { var instance = new CANNON.Plane(); return instance; }; GameLib.D3.Shape.Plane.prototype.updateInstance = function() { };