<commit_before>(function (CubicVR, undefined){

    "use strict";

    function webGLStart(gl,canvas) {
        var scene = new CubicVR.Scene({
            light   :{
            },
            camera  :{
                name     : "camera",
                width    : canvas.width,
                height   : canvas.height,
                position : [1,1,1],
                lookat   : [0,0,0]
            },
            obj     :{
                name        : "cube",
                primitive   : {
                    type     : "box",
                    size     : 1.0,
                    uvmapper : {
                        projectionMode : "cubic",
                        scale : [1,1,1]
                    }
                },
                compile : true
            }
        });

        CubicVR.addResizeable(scene.camera);

        scene.setSkyBox();

        CubicVR.MainLoop(function(timer,gl){
            scene.render();
        });
    }

    CubicVR.start('auto',webGLStart);

})( CubicVR );<commit_msg>Implemented a basic scene with Cubic<commit_after>
(function (CubicVR, undefined){

    "use strict";


    function webGLStart (gl, canvas) {

        var CubicVR = window.CubicVR;

        var scene = new CubicVR.Scene({
            light : {
                name     : "light",
                type     : "point",
                position : [1.0, 1.5, -2.0]
            },

            camera : {
                name     : "camera",
                width    : canvas.width,
                height   : canvas.height,
                position : [1,1,1],
                lookat   : [0,0,0],
                fov      : 60.0
            },

            sceneObject : {
                name     : "cube",
                position : [0.0, 0.0, 0.0],
                mesh     : {
                    primitive : {
                        type     : "box",
                        size     : 1.0,
                        uvmapper : {
                            projectionMode : "cubic",
                            scale : [1,1,1]
                        }
                    },

                    compile : true
                }
            }
        });

        CubicVR.addResizeable(scene.camera);

        scene.setSkyBox(new CubicVR.SkyBox({
            texture : 'assets/textures/skybox.jpg'
        }));

        CubicVR.MainLoop(function(timer, gl) {
            scene.render();
        });
    }


    CubicVR.start('auto', webGLStart);


})( CubicVR );
{'fraction_non_alphanumeric': 0.11226944667201283, 'fraction_numerical': 0.01483560545308741, 'mean_word_length': 0.8633308439133682, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1154140', 'n_tokens_mistral': 724, 'n_tokens_neox': 664, 'n_words': 119}