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 TODO:
- implement basic types - maintain the TODO list properly
- skeleton
- examples
- geometry lock/unlock - geometry lock/unlock
-> reinstance -> reinstance
-> revisit pipelines -> revisit pipelines
@ -10,8 +12,7 @@
- more file formats (PNG) - more file formats (PNG)
- PS2 rendering! - PS2 rendering!
- Im2d and Im3d - Im2d and Im3d
- skeleton - change naming convention? make globals stand out more
- examples
BUGS: BUGS:
- fseek with negative offset on ps2 over ps2link messes up the current position - fseek with negative offset on ps2 over ps2link messes up the current position
@ -37,12 +38,6 @@ Clump & related:
R* 2dfx 0x253F2F8 R* 2dfx 0x253F2F8
R* Collision 0x253F2FA R* Collision 0x253F2FA
Texture Dictionary / Native Textures
- Pipelines (PDS, Xbox, PC) - Pipelines (PDS, Xbox, PC)
- ADC conversion - 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; dst->posw = 1.0;
} }
struct Line
{
V3d start;
V3d end;
};
struct Rect
{
int32 h, w;
int32 x, y;
};
struct Sphere struct Sphere
{ {
V3d center; V3d center;