Skip to content

Commit f97073b

Browse files
committed
Modest changes to remove some transient customization.
1 parent d234115 commit f97073b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

constellation.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
class Constellation
1717
{
1818
public:
19-
const int MAXIMUM_NUMBER_OF_OBJECTS = 512;
19+
const int MAXIMUM_NUMBER_OF_OBJECTS = 525;
2020

2121
class PositionData
2222
{

grid_constellation.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ bool GridConstellation::Initialize(int number_of_objects)
1919
{
2020
for (int x = 0; x < size; x++)
2121
{
22-
this->positions[i++] = PositionData(p , vec3(0.0f , 0.0f , 1.0f));
22+
this->positions[i++] = PositionData(p , vec3(sin(p.x * 2.0f * glm::pi<float>()) , 0.0f , cos(p.x * 2.0f * glm::pi<float>())));
2323
p.x += delta;
2424
}
2525
p.x = -1.0f;

0 commit comments

Comments
 (0)