mirror of
https://github.com/encounter/tp.git
synced 2026-03-30 11:40:53 -07:00
5867eaf68b
* typedef for cPhs_Step * make sdk includes consistent * d_menu_quit / d_msg_scrn_explain debug * d_a_obj_testcube mostly done * d_debug_pad mostly done * jstudio tool library headers * some JStudioCameraEditor headers * d_jcam_editor mostly done * try fixing some shield regressions * d_bg_parts mostly done * fix merge errors * debug fix
29 lines
604 B
C++
29 lines
604 B
C++
#ifndef J3DSHAPEDRAW_H
|
|
#define J3DSHAPEDRAW_H
|
|
|
|
#include <dolphin/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 */
|