mirror of
https://github.com/liabru/matter-js.git
synced 2024-12-24 13:29:01 -05:00
update angle constraints example
This commit is contained in:
parent
8beb5d09ae
commit
f58388b8c6
3 changed files with 7 additions and 48 deletions
|
@ -30,53 +30,7 @@
|
|||
|
||||
<!-- Plugins -->
|
||||
<script src="./lib/matter-wrap.js"></script>
|
||||
|
||||
<!-- Examples -->
|
||||
<script src="../examples/airFriction.js"></script>
|
||||
<script src="../examples/angleConstraints.js"></script>
|
||||
<script src="../examples/avalanche.js"></script>
|
||||
<script src="../examples/ballPool.js"></script>
|
||||
<script src="../examples/bridge.js"></script>
|
||||
<script src="../examples/broadphase.js"></script>
|
||||
<script src="../examples/car.js"></script>
|
||||
<script src="../examples/catapult.js"></script>
|
||||
<script src="../examples/chains.js"></script>
|
||||
<script src="../examples/circleStack.js"></script>
|
||||
<script src="../examples/cloth.js"></script>
|
||||
<script src="../examples/collisionFiltering.js"></script>
|
||||
<script src="../examples/compositeManipulation.js"></script>
|
||||
<script src="../examples/compound.js"></script>
|
||||
<script src="../examples/compoundStack.js"></script>
|
||||
<script src="../examples/concave.js"></script>
|
||||
<script src="../examples/constraints.js"></script>
|
||||
<script src="../examples/doublePendulum.js"></script>
|
||||
<script src="../examples/events.js"></script>
|
||||
<script src="../examples/friction.js"></script>
|
||||
<script src="../examples/gravity.js"></script>
|
||||
<script src="../examples/gyro.js"></script>
|
||||
<script src="../examples/manipulation.js"></script>
|
||||
<script src="../examples/mixed.js"></script>
|
||||
<script src="../examples/newtonsCradle.js"></script>
|
||||
<script src="../examples/ragdoll.js"></script>
|
||||
<script src="../examples/pyramid.js"></script>
|
||||
<script src="../examples/raycasting.js"></script>
|
||||
<script src="../examples/restitution.js"></script>
|
||||
<script src="../examples/rounded.js"></script>
|
||||
<script src="../examples/sensors.js"></script>
|
||||
<script src="../examples/sleeping.js"></script>
|
||||
<script src="../examples/slingshot.js"></script>
|
||||
<script src="../examples/softBody.js"></script>
|
||||
<script src="../examples/sprites.js"></script>
|
||||
<script src="../examples/stack.js"></script>
|
||||
<script src="../examples/staticFriction.js"></script>
|
||||
<script src="../examples/stress.js"></script>
|
||||
<script src="../examples/stress2.js"></script>
|
||||
<script src="../examples/svg.js"></script>
|
||||
<script src="../examples/terrain.js"></script>
|
||||
<script src="../examples/timescale.js"></script>
|
||||
<script src="../examples/views.js"></script>
|
||||
<script src="../examples/wreckingBall.js"></script>
|
||||
|
||||
|
||||
<style type="text/css">
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
|
|
|
@ -213,4 +213,8 @@ Example.angleConstraints = function() {
|
|||
Matter.Runner.stop(runner);
|
||||
}
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
if (typeof module !== 'undefined') {
|
||||
module.exports = Example[Object.keys(Example)[0]];
|
||||
}
|
|
@ -1,5 +1,6 @@
|
|||
module.exports = {
|
||||
airFriction: require('./airFriction.js'),
|
||||
angleConstraints: require('./angleConstraints.js'),
|
||||
avalanche: require('./avalanche.js'),
|
||||
ballPool: require('./ballPool.js'),
|
||||
bridge: require('./bridge.js'),
|
||||
|
|
Loading…
Reference in a new issue