Message from @m_Enroq
Discord ID: 248626045522149376
Did you just get done googling an algorithm? lol
*SQUEEEEALS*
AHHHHHHHHHHHHHHHHH
felix u ok ?
*Yes*
Hey enroq why don't you come on voice chat
IM MAKING EM HIT THOSE HIGH NOTES OOPS CAPS LOL SORRY
*I'm about to faint*
But it's so hot
ill catch you bb
lol who googles algorithm
PlaneState[] NonAxisIntantiationLocations(int width)
{
List<PlaneState> PlanesToGenerate = new List<PlaneState>();
for (int i = 1; i < width; i++)
{
for(int j = 1; j < width; j++)
{
float x = i * m_UnitScale * m_PlaneWidth;
float y = j * m_UnitScale * m_PlaneWidth;
bool isBorder = i == width -1 || j == width -1;
Vector2[] vectors = new Vector2[]
{
new Vector2(x, y), new Vector2(-x, -y),
new Vector2(-x, y), new Vector2(x, -y)
};
for(int z = 0; z < vectors.Length; z++)
{
PlanesToGenerate.Add(new PlaneState(isBorder, vectors[z]));
}
}
}
return PlanesToGenerate.ToArray();
}
it
ok
Boy that method right there is worth more than your life.
thats it?
boner killed
why u sending code boi
So eat a dick.
Nah, I'm telling you that method
two nested for loops
libido skewered
LOL
Exactly.
NOT EVEN COLLEGE LEVEl
Lol.
Sentri oh god
Dude.
Try harder.
Why are you doing it fast
try using some recursion ya twat
what coding lang is that
LOL
I said try harder.
fast slow fast slow fast sloooooooow
im starting to learn java but am very new at it
Not look dumber.
That's C# brother.
o
C# is the way to go.