mirror of
https://github.com/Ed94/pikuma_ps1.git
synced 2026-08-06 07:38:47 +00:00
This commit is contained in:
@@ -226,7 +226,7 @@ void update(PrimitiveArena* pa, U4* ordering_buf)
|
|||||||
// static_mem.cube.rot.x += 6;
|
// static_mem.cube.rot.x += 6;
|
||||||
// static_mem.cube.rot.y += 8;
|
// static_mem.cube.rot.y += 8;
|
||||||
// static_mem.cube.rot.z += 12;
|
// static_mem.cube.rot.z += 12;
|
||||||
static_mem.cube.rot.y += 0;
|
static_mem.cube.rot.y += 20;
|
||||||
}
|
}
|
||||||
// Draw Floor
|
// Draw Floor
|
||||||
{
|
{
|
||||||
@@ -241,12 +241,12 @@ void update(PrimitiveArena* pa, U4* ordering_buf)
|
|||||||
tri->color = rgb8(255, 255, 255);
|
tri->color = rgb8(255, 255, 255);
|
||||||
|
|
||||||
V3_S2* face = & static_mem.floor.faces[face_id];
|
V3_S2* face = & static_mem.floor.faces[face_id];
|
||||||
V3_S2* p0 = & static_mem.floor.verts[face->x];
|
register V3_S2* p0 asm("$12") = & static_mem.floor.verts[face->x];
|
||||||
V3_S2* p1 = & static_mem.floor.verts[face->y];
|
V3_S2* p1 = & static_mem.floor.verts[face->y];
|
||||||
V3_S2* p2 = & static_mem.floor.verts[face->z];
|
V3_S2* p2 = & static_mem.floor.verts[face->z];
|
||||||
|
|
||||||
// gte_ldv0(p0);
|
// gte_ldv0(p0);
|
||||||
gte_load_v0(p0);
|
gte_load_v0(p0);
|
||||||
gte_ldv1(p1);
|
gte_ldv1(p1);
|
||||||
gte_ldv2(p2);
|
gte_ldv2(p2);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user