0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2025-03-14 00:38:41 -04:00

spelling: constraint

This commit is contained in:
Josh Soref 2019-10-29 02:04:16 -04:00
parent 82bb41535b
commit 3f407e06b2

View file

@ -454,7 +454,7 @@ Example.ragdoll.ragdoll = function(x, y, scale, options) {
}
});
var headContraint = Constraint.create({
var headConstraint = Constraint.create({
bodyA: head,
pointA: {
x: 0,
@ -488,7 +488,7 @@ Example.ragdoll.ragdoll = function(x, y, scale, options) {
],
constraints: [
upperToLowerLeftArm, upperToLowerRightArm, chestToLeftUpperArm,
chestToRightUpperArm, headContraint, upperToLowerLeftLeg,
chestToRightUpperArm, headConstraint, upperToLowerLeftLeg,
upperToLowerRightLeg, chestToLeftUpperLeg, chestToRightUpperLeg,
legToLeg
]