mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 06:54:28 -04:00
a6e76c0841
* some wii OS fixes * remove old dol2asm comments * remove dol2asm.h * remove function address comments * normalize ATTRIBUTE_ALIGN usage * DECL_WEAK macro * fix gcc attribute weak macro * wrap more mwcc specific things in ifdefs * fixes * fix revo sdk version flags * fixes
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 */
|