mirror of
https://github.com/devZoGok/vb01.git
synced 2026-08-26 19:43:30 +00:00
outsourced cubemap generation materials can have nonuniform properties recreating skyboxes
22 lines
348 B
C++
Executable File
22 lines
348 B
C++
Executable File
#ifndef BOX_H
|
|
#define BOX_H
|
|
|
|
#include "mesh.h"
|
|
|
|
namespace vb01{
|
|
class Box : public Mesh{
|
|
public:
|
|
Box(Vector3, bool = true);
|
|
inline Box* clone(){return new Box(this);}
|
|
inline void setSize(Vector3 size){this->size = size;}
|
|
inline Vector3 getSize(){return size;}
|
|
private:
|
|
Box(Box*);
|
|
void init();
|
|
|
|
Vector3 size;
|
|
};
|
|
}
|
|
|
|
#endif
|