mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-02 09:39:48 -04:00
4df8ccc871
* Reorganize files into libs/{dolphin,JSystem,PowerPC_EABI_Support,revolution,TRK_MINNOW_DOLPHIN}
* Update configure.py and project.py for new libs structure
* Refactor `#include <dolphin/x.h>` -> `<x.h>`
* Remove `__REVOLUTION_SDK__` forwards from dolphin
* Fix dolphin/ references in revolution
* Wrap `#include <dolphin.h>` in `!__REVOLUTION_SDK__`
* Always build TRK against dolphin headers
* Resolve revolution SDK header resolution issues
29 lines
596 B
C++
29 lines
596 B
C++
#ifndef J3DSHAPEDRAW_H
|
|
#define J3DSHAPEDRAW_H
|
|
|
|
#include <types.h>
|
|
|
|
/**
|
|
* @ingroup jsystem-j3d
|
|
*
|
|
*/
|
|
class J3DShapeDraw {
|
|
public:
|
|
u32 countVertex(u32);
|
|
void addTexMtxIndexInDL(u32, u32, u32);
|
|
J3DShapeDraw(u8 const*, u32);
|
|
void draw() const;
|
|
|
|
virtual ~J3DShapeDraw();
|
|
|
|
u8* getDisplayList() const { return (u8*)mDisplayList; }
|
|
u32 getDisplayListSize() const { return mDisplayListSize; }
|
|
void setDisplayListSize(u32 size) { mDisplayListSize = size; }
|
|
|
|
private:
|
|
/* 0x04 */ u32 mDisplayListSize;
|
|
/* 0x08 */ void* mDisplayList;
|
|
};
|
|
|
|
#endif /* J3DSHAPEDRAW_H */
|