-
Notifications
You must be signed in to change notification settings - Fork 1
WARP
Jocelyn Beedie edited this page Jun 12, 2020
·
1 revision
The purpose of these files is unknown, but the format itself is very simple. They seem to be six sided cubes with a MATERIAL applied to each side, although they likely aren't visible in-game.
struct Warp {
float size; // size of the cube.
int32_t material_ids[6]; Materials per-face
Vector3 vertices[8]; Locations of each vertex of the cube. Component values are generally either `size` or `-size`.
Vector2 texcoords[4]; Texture coordinates; applied to each face.
}