Jose Ferrao 6 jaren geleden
bovenliggende
commit
3d59e50ba2
1 gewijzigde bestanden met toevoegingen van 11 en 3 verwijderingen
  1. 11 3
      source/Object2D.js

+ 11 - 3
source/Object2D.js

@@ -98,16 +98,24 @@ Object2D.prototype.remove = function(object)
 	}
 };
 
+/**
+ * Check if a point is inside of the object.
+ */
+Object2D.prototype.isInside = function(point)
+{
+	return false;
+};
+
 /**
  * Update the transformation matrix of the object.
  */
 Object2D.prototype.updateMatrix = function(context)
 {
-	if(true) //this.matrixNeedsUpdate)
-	{
+	//if(this.matrixNeedsUpdate)
+	//{
 		this.matrix.compose(this.position.x, this.position.y, this.scale.x, this.scale.y, this.rotation);
 		this.matrixNeedsUpdate = false;
-	}
+	//}
 };
 
 /**