Reformat tuple into a struct.
This commit is contained in:
@@ -63,7 +63,6 @@ bool parse_poses(Array<Body>* bodies_out, const char* filepath) {
|
||||
b.pose = pose * glm::translate(b.pose, trans);
|
||||
b.color = glm::vec4(i == 0 ? 1 : 0, i == 1 ? 1 : 0, i == 2 ? 1 : 0, 1);
|
||||
b.scale = 3;
|
||||
printf("%d, ", camera_i * 3 * NUM_SPHERES_PER_AXE + i * NUM_SPHERES_PER_AXE + j);
|
||||
bodies_out->data[camera_i*3*NUM_SPHERES_PER_AXE + i*NUM_SPHERES_PER_AXE + j] = b;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user