I am trying to write some values in an Float32 variable, but I always get an Visual studio exception saying "Access violation writing location 0x000...". I tried it the following way:
Code: Select all
Float32* value;
Vector3 vector = Vector3(1, 1, 1);
value[0] = vector.x;
value[1] = vector.y;
value[2] = vector.z;
Thank you in advance!
Best regards,
Julia