// Path: src/main/java/craftedcart/smblevelworkshop/resource/ResourceShaderProgram.java
// public class ResourceShaderProgram implements IResource {
// 
//     private int programID;
// 
//     public ResourceShaderProgram(ResourceShader vertShader, ResourceShader fragShader) throws Exception {
//         Window.drawable.makeCurrent();
// 
//         try {
//             programID = GL20.glCreateProgram();
//             GL20.glAttachShader(programID, vertShader.getShaderID());
//             GL20.glAttachShader(programID, fragShader.getShaderID());
//             GL20.glLinkProgram(programID);
//             GL20.glValidateProgram(programID);
//         } catch (NullPointerException e) {
//             throw new Exception(e);
//         }
// 
//         Window.drawable.releaseContext();
//     }
// 
//     public int getProgramID() {
//         return programID;
//     }
// }


import craftedcart.smblevelworkshop.resource.ResourceShaderProgram;
import io.github.craftedcart.fluidui.util.UIColor;
import org.lwjgl.opengl.GL11;
import java.util.List;
import java.util.Objects;
package craftedcart.smblevelworkshop.resource.model;



/**
 * @author CraftedCart
 *         Created on 10/10/2016 (DD/MM/YYYY)
 */
public class OBJScene {

    private List<OBJObject> objectList;

    public void setObjectList(List<OBJObject> objectList) {
        this.objectList = objectList;
    }

// Path: src/main/java/craftedcart/smblevelworkshop/resource/ResourceShaderProgram.java
// public class ResourceShaderProgram implements IResource {
// 
//     private int programID;
// 
//     public ResourceShaderProgram(ResourceShader vertShader, ResourceShader fragShader) throws Exception {
//         Window.drawable.makeCurrent();
// 
//         try {
//             programID = GL20.glCreateProgram();
//             GL20.glAttachShader(programID, vertShader.getShaderID());
//             GL20.glAttachShader(programID, fragShader.getShaderID());
//             GL20.glLinkProgram(programID);
//             GL20.glValidateProgram(programID);
//         } catch (NullPointerException e) {
//             throw new Exception(e);
//         }
// 
//         Window.drawable.releaseContext();
//     }
// 
//     public int getProgramID() {
//         return programID;
//     }
// }


// Path: src/main/java/craftedcart/smblevelworkshop/resource/model/OBJScene.java
import craftedcart.smblevelworkshop.resource.ResourceShaderProgram;
import io.github.craftedcart.fluidui.util.UIColor;
import org.lwjgl.opengl.GL11;
import java.util.List;
import java.util.Objects;

package craftedcart.smblevelworkshop.resource.model;



/**
 * @author CraftedCart
 *         Created on 10/10/2016 (DD/MM/YYYY)
 */
public class OBJScene {

    private List<OBJObject> objectList;

    public void setObjectList(List<OBJObject> objectList) {
        this.objectList = objectList;
    }

    public void renderAll(ResourceShaderProgram shaderProgram, boolean setTexture) {