small stuff

This commit is contained in:
aap 2017-08-21 14:40:19 +02:00
parent 4653f7e81e
commit 588d86e79a
2 changed files with 17 additions and 10 deletions

15
TODO
View File

@ -1,5 +1,7 @@
- change naming convention? make globals stand out more
- implement basic types
TODO:
- maintain the TODO list properly
- skeleton
- examples
- geometry lock/unlock
-> reinstance
-> revisit pipelines
@ -10,8 +12,7 @@
- more file formats (PNG)
- PS2 rendering!
- Im2d and Im3d
- skeleton
- examples
- change naming convention? make globals stand out more
BUGS:
- fseek with negative offset on ps2 over ps2link messes up the current position
@ -37,12 +38,6 @@ Clump & related:
R* 2dfx 0x253F2F8
R* Collision 0x253F2FA
Texture Dictionary / Native Textures
- Pipelines (PDS, Xbox, PC)
- ADC conversion
- uninstance geometry (PS2)
- anim interpolation (only stubs right now)

View File

@ -262,6 +262,18 @@ inline void convMatrix(RawMatrix *dst, Matrix *src){
dst->posw = 1.0;
}
struct Line
{
V3d start;
V3d end;
};
struct Rect
{
int32 h, w;
int32 x, y;
};
struct Sphere
{
V3d center;