finished tutorial 03
This commit is contained in:
@@ -43,7 +43,7 @@ class MinecraftPipeline : public Renderer3DPipeline {
|
||||
* @param fullClipChecks false = faster, simple PS2 clipping. True = slower,
|
||||
* experimental "against each plane" clipping.
|
||||
*/
|
||||
void render(std::vector<McpipBlock*> blocks, Texture* t_tex,
|
||||
void render(std::vector<McpipBlock*> blocks, const Texture* t_tex,
|
||||
const bool& isMulti = false, const bool& fullClipChecks = false);
|
||||
|
||||
inline const float& getTextureOffset() const {
|
||||
|
||||
@@ -27,6 +27,7 @@ class Renderer3D {
|
||||
|
||||
/** Deinitialize previous pipeline and initialize new pipeline */
|
||||
void usePipeline(Renderer3DPipeline* pipeline);
|
||||
void usePipeline(Renderer3DPipeline& pipeline);
|
||||
|
||||
private:
|
||||
Renderer3DPipeline* currentPipeline;
|
||||
|
||||
Reference in New Issue
Block a user