Merge branch 'tyrav2-develop' into tyrav2-static-dynamic-pipelines
This commit is contained in:
@@ -22,6 +22,8 @@ class BBox : public CoreBBox {
|
||||
explicit BBox(CoreBBox** t_bboxes, const u32& count);
|
||||
explicit BBox(Vec4* t_vertices, u32* faces, u32 t_count);
|
||||
explicit BBox(Vec4* t_vertices, u32 t_count);
|
||||
explicit BBox(const BBox& t_bbox, const M4x4& t_matrix);
|
||||
explicit BBox(const BBox& t_bbox);
|
||||
explicit BBox(Vec4* t_vertices);
|
||||
const float& getHeight() { return _height; }
|
||||
const float& getDepth() { return _depth; }
|
||||
@@ -52,6 +54,9 @@ class BBox : public CoreBBox {
|
||||
* */
|
||||
void getMinMax(Vec4* res_min, Vec4* res_max);
|
||||
|
||||
/** Get new transformed BBox by model matrix */
|
||||
BBox getTransformed(const M4x4& t_matrix);
|
||||
|
||||
protected:
|
||||
float _height, _depth, _width;
|
||||
Vec4 _centerVector;
|
||||
|
||||
@@ -34,6 +34,8 @@ class MinecraftPipeline : public Renderer3DPipeline {
|
||||
return manager.getTextureOffset();
|
||||
}
|
||||
|
||||
const McpipBlockData& getBlockData() const { return manager.getBlockData(); }
|
||||
|
||||
private:
|
||||
BlockizerProgramsManager manager;
|
||||
RendererCore* rendererCore;
|
||||
|
||||
Reference in New Issue
Block a user