mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-24 10:09:16 +01:00
9bb8ebaa10
# Conflicts: # premake5.lua # src/CMakeLists.txt # src/collision/Collision.cpp # src/core/Collision.h
22 lines
423 B
C
22 lines
423 B
C
#pragma once
|
|
|
|
#include "SurfaceTable.h"
|
|
|
|
struct CBox
|
|
{
|
|
CVector min;
|
|
CVector max;
|
|
CVector GetSize(void) { return max - min; }
|
|
void Set(const CVector &min, const CVector &max) { this->min = min; this->max = max; }
|
|
};
|
|
|
|
struct CColBox : public CBox
|
|
{
|
|
uint8 surface;
|
|
uint8 piece;
|
|
|
|
void Set(const CVector &min, const CVector &max, uint8 surf, uint8 piece);
|
|
using CBox::Set;
|
|
|
|
CColBox& operator=(const CColBox &other);
|
|
}; |