@@ -11,4 +11,4 @@ class CollisionCircle2D : CollisionShape2D
tolua_property__get_set float radius;
tolua_property__get_set Vector2& center;
-};
+};
@@ -16,4 +16,4 @@ class ConstraintDistance2D : Constraint2D
tolua_property__get_set Vector2& otherBodyAnchor;
tolua_property__get_set float frequencyHz;
tolua_property__get_set float dampingRatio;
@@ -13,4 +13,4 @@ class ConstraintFriction2D : Constraint2D
tolua_property__get_set Vector2& anchor;
tolua_property__get_set float maxForce;
tolua_property__get_set float maxTorque;
@@ -19,4 +19,4 @@ class ConstraintPulley2D : Constraint2D
tolua_property__get_set Vector2& ownerBodyAnchor;
tolua_property__get_set float ratio;
@@ -13,4 +13,4 @@ class ConstraintWeld2D : Constraint2D
@@ -25,4 +25,4 @@ class ConstraintWheel2D : Constraint2D
tolua_property__get_set float motorSpeed;
@@ -7,4 +7,4 @@ public:
ParticleModel2D* GetModel() const;
tolua_property__get_set ParticleModel2D* model;
@@ -8,5 +8,4 @@ enum EmitterType2D
class ParticleModel2D : public Resource
{
-
@@ -88,4 +88,4 @@ const PODVector<RigidBody2D*>& PhysicsWorld2DGetRigidBodies(PhysicsWorld2D* phys
physicsWorld->GetRigidBodies(results, aabb, collisionMask);
return results;
}
-$}
+$}
@@ -17,4 +17,4 @@ public:
tolua_property__get_set IntRect rectangle;
tolua_property__get_set Vector2 hotSpot;
tolua_property__get_set SpriteSheet2D* spriteSheet;
@@ -94,4 +94,3 @@ protected:
};
@@ -173,4 +173,4 @@ Sprite2D* Animation2D::GetFrameSpriteByTime(float time) const
return 0;
-}
+}
@@ -74,4 +74,4 @@ private:
float angle_;
@@ -71,4 +71,4 @@ private:
PODVector<Vector2> vertices_;
@@ -66,4 +66,4 @@ private:
Vector2 center_;
Vector2 vertex2_;
@@ -108,4 +108,4 @@ protected:
Vector3 cachedWorldScale_;
@@ -94,4 +94,4 @@ protected:
WeakPtr<Constraint2D> attachedConstraint_;
@@ -72,4 +72,4 @@ private:
float dampingRatio_;
float maxTorque_;
@@ -79,4 +79,4 @@ private:
float ratio_;
@@ -90,4 +90,4 @@ private:
float maxMotorTorque_;
float maxLength_;
@@ -130,4 +130,3 @@ private:
@@ -273,4 +273,3 @@ private:
@@ -520,4 +520,3 @@ void RigidBody2D::OnMarkedDirty(Node* node)
@@ -165,4 +165,4 @@ private:
Vector<WeakPtr<Constraint2D> > constraints_;
@@ -206,4 +206,4 @@ void SpriteSheet2D::UpdateSprite(const String& name, const IntRect& rectangle, c
@@ -69,4 +69,3 @@ protected: