public void cone(double radio, double height, Color color, double positionX, double positionY, double positionZ) { Objects.Cone c; Engine.Collision collision; c = new Objects.Cone(radio, height, color, positionX, positionY, positionZ); cones.Add(c); collision = new Engine.Collision(positionX - radio, positionX + radio, positionZ - (height / 2), positionZ + (height / 2), 4); collisions.Add(collision); }
public void cone(double radio, double height, Color color, double positionX, double positionY, double positionZ) { Objects.Cone c; Engine.Collision collision; c = new Objects.Cone(radio, height, color, positionX, positionY, positionZ); cones.Add(c); collision = new Engine.Collision(positionX - radio, positionX + radio, positionZ - (height / 2), positionZ + (height / 2), 4); collisions.Add(collision); }