mirror of
https://github.com/devZoGok/vb01.git
synced 2026-08-26 19:43:30 +00:00
21 lines
350 B
C++
Executable File
21 lines
350 B
C++
Executable File
#ifndef QUAD_H
|
|
#define QUAD_H
|
|
|
|
#include "vector.h"
|
|
#include "mesh.h"
|
|
|
|
namespace vb01{
|
|
class Quad : public Mesh{
|
|
public:
|
|
Quad(Vector3, bool = true, int numVertDiv = 0, int numHorDiv = 0);
|
|
void setSize(Vector3);
|
|
inline Vector3 getSize(){return size;}
|
|
private:
|
|
Vector3 size;
|
|
bool spatial;
|
|
int numVertDiv, numHorDiv;
|
|
};
|
|
}
|
|
|
|
#endif
|