I believe it should be possible, however I do see one problem. you reference ....world.x but world is an array so it would be world[0] unless you declare world to be another type other than float world[3]
you could create another struct called coordinate so you can reference it with .x, .y, and .z, but then you can't reference it with indexes.
Code: ags
you could create another struct called coordinate so you can reference it with .x, .y, and .z, but then you can't reference it with indexes.
struct Coordinate
{
float x;
float y;
float z;
}
struct Vertex
{
Coordinate world[3];
Coordinate camera[3];
Coordinate screen[3];
int raster[2];
};