예제 #1
0
        public void AddCube(List <TextureTile> textureSet, Vector3 position, bool addToBuffer = true)
        {
            var cube    = new Cube(textureSet);
            var oVector = _dimension.AllocateNode(position, cube);

            //if (addToBuffer)
            ProcessBuffer((buffer) => cube.AddToBuffer(buffer, _dimension.ToWorldVector(oVector)));
        }