dreamcast/geometry/border.obj
Zack Buhman 511d99563d maple_bus_commands: zero-sized structs should be zero sized
From the GCC manual.

> GCC permits a C structure to have no members:

struct empty {
};

> The structure has size zero. In C++, empty structures are part of the
> language. G++ treats empty structures as if they had a single member of type
> char.

I was not aware of the different behavior in C++.

This fixes every maple example--most were broken for multiple reasons, including
this one.

This also enables SH4 caching. This includes linking code/data into the P1
area (previously this was not the case).

The maple examples (which indeed involve much use of DMA) require much work to
successfully work with the operand and copyback caches. The vibration example
currently is the most complete, though I should consider more on how I want to
structure maple response operand cache invalidation more generally.
2024-02-02 22:05:10 +08:00

42 lines
953 B
Plaintext

# Blender 3.3.8
# www.blender.org
o Border
v -1.000000 -0.000000 1.000000
v 1.000000 -0.000000 1.000000
v -1.000000 0.000000 -1.000000
v 1.000000 0.000000 -1.000000
v 0.950000 -0.000000 1.000000
v 0.950000 0.000000 -1.000000
v 0.950000 -0.000000 0.950000
v 0.950000 0.000000 -0.950000
v -0.950000 0.000000 -1.000000
v -0.950000 -0.000000 1.000000
v -0.950000 -0.000000 0.950000
v -0.950000 0.000000 -0.950000
vn -0.0000 1.0000 -0.0000
vt 0.999900 0.000100
vt 0.999900 0.999900
vt 0.000100 0.000101
vt 0.000100 0.999900
vt 0.999900 0.974905
vt 0.000100 0.974905
vt 0.974905 0.974905
vt 0.025095 0.974905
vt 0.000100 0.025096
vt 0.999900 0.025095
vt 0.974905 0.025095
vt 0.025095 0.025096
s 0
f 6/6/1 12/12/1 8/8/1
f 5/5/1 11/11/1 10/10/1
f 6/6/1 9/9/1 12/12/1
f 5/5/1 7/7/1 11/11/1
f 8/8/1 4/4/1 6/6/1
f 1/1/1 11/11/1 12/12/1
f 12/12/1 3/3/1 1/1/1
f 2/2/1 7/7/1 5/5/1
f 8/8/1 7/7/1 4/4/1
f 1/1/1 10/10/1 11/11/1
f 12/12/1 9/9/1 3/3/1
f 2/2/1 4/4/1 7/7/1