mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-26 17:36:12 -05:00
f6e44b1c1b
* Implement LegoROI::Read and geom library * Match * Match * Fixes * Fix
21 lines
504 B
C++
21 lines
504 B
C++
#ifndef __LEGOSPHERE_H
|
|
#define __LEGOSPHERE_H
|
|
|
|
#include "legovertex.h"
|
|
|
|
// SIZE 0x10
|
|
class LegoSphere {
|
|
public:
|
|
LegoSphere() { m_radius = 0.0F; }
|
|
LegoVertex& GetCenter() { return m_center; }
|
|
void SetCenter(LegoVertex& p_center) { m_center = p_center; }
|
|
LegoFloat GetRadius() { return m_radius; }
|
|
void SetRadius(LegoFloat p_radius) { m_radius = p_radius; }
|
|
LegoResult Read(LegoStorage* p_storage);
|
|
|
|
protected:
|
|
LegoVertex m_center; // 0x00
|
|
LegoFloat m_radius; // 0x0c
|
|
};
|
|
|
|
#endif // __LEGOSPHERE_H
|