Files
vb01/box.h
devZoGok 3193c61036 flag whether to load primitive mesh or image data to the GPU
outsourced cubemap generation
materials can have nonuniform properties
recreating skyboxes
2026-06-27 20:04:38 +03:00

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