Clang Vector Extension support
This commit is contained in:
parent
d2db7b71da
commit
51f336d2ec
1 changed files with 148 additions and 44 deletions
|
|
@ -155,9 +155,9 @@ int main(void)
|
|||
for (int i = 0; i < MAX_CUBES; i++)
|
||||
{
|
||||
cubePositions[i] = (Vector3){
|
||||
.x = (float)(rand()%10) - 5,
|
||||
.y = (float)(rand()%5),
|
||||
.z = (float)(rand()%10) - 5,
|
||||
(float)(rand()%10) - 5,
|
||||
(float)(rand()%5),
|
||||
(float)(rand()%10) - 5,
|
||||
};
|
||||
|
||||
cubeRotations[i] = (float)(rand()%360);
|
||||
|
|
|
|||
Loading…
Reference in a new issue