- Removed some debug logs

This commit is contained in:
Patrice Vignola 2015-08-13 13:55:16 -04:00
parent bbf3de222f
commit ca79ca8381
3 changed files with 96 additions and 97 deletions

View File

@ -27,6 +27,12 @@ namespace DeathBook.Model
{ {
List<Person> people = new List<Person>(numPeople); List<Person> people = new List<Person>(numPeople);
/* Sphere uniform distribution using the spiral method with the golden angle
* ~2.39996323 rad, the golden angle (the most irrational angle)
* is used here to make sure that the sin and cos functions
* dont end up drawing clusters of points and the spirals are way
* less visible.
*/
float dlong = Mathf.PI * (3 - Mathf.Sqrt(5)); //~2.39996323 float dlong = Mathf.PI * (3 - Mathf.Sqrt(5)); //~2.39996323
float dz = (2f / numPeople) * radius; float dz = (2f / numPeople) * radius;

View File

@ -21,7 +21,6 @@ public class PersonTest : MonoBehaviour
void OnMouseOver() void OnMouseOver()
{ {
Debug.Log("abc");
if (!_highlighted) if (!_highlighted)
{ {
_highlighted = true; _highlighted = true;

View File

@ -83,12 +83,6 @@ public class SphereSR : MonoBehaviour
private void InstantiateNodes(Level lvl) private void InstantiateNodes(Level lvl)
{ {
/* Sphere uniform distribution using the spiral method with the golden angle
* ~2.39996323 rad, the golden angle (the most irrational angle)
* is used here to make sure that the sin and cos functions
* dont end up drawing clusters of points and the spirals are way
* less visible.
*/
peopleNodes = new PersonTest[lvl.people.Count]; peopleNodes = new PersonTest[lvl.people.Count];
int ctr = 0; int ctr = 0;