mirror of
https://github.com/ConjureETS/DeathBook.git
synced 2026-03-25 13:00:59 +00:00
- Removed some debug logs
This commit is contained in:
parent
bbf3de222f
commit
ca79ca8381
@ -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;
|
||||||
|
|||||||
@ -21,7 +21,6 @@ public class PersonTest : MonoBehaviour
|
|||||||
|
|
||||||
void OnMouseOver()
|
void OnMouseOver()
|
||||||
{
|
{
|
||||||
Debug.Log("abc");
|
|
||||||
if (!_highlighted)
|
if (!_highlighted)
|
||||||
{
|
{
|
||||||
_highlighted = true;
|
_highlighted = true;
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user