<commit_before>//
//  BloomSphere.h
//  Kepler
//
//  Created by <NAME> on 6/12/11.
//  Copyright 2011 Bloom Studio, Inc. All rights reserved.
//

#pragma once

#include "cinder/gl/gl.h"

namespace bloom {

    class BloomSphere
    {
    public:
        
        struct VertexData {
            ci::Vec3f vertex;
            // no normal, normal == vertex
            ci::Vec2f texture;
        };            
        
        BloomSphere(): mInited(false) {}
        ~BloomSphere() {
            if (mInited) {
                glDeleteBuffers(1, &mVBO);
            }
        }
        
        void setup( int segments );
        void draw();

    private:
        
        bool mInited;
        GLuint mVBO;
        int mNumVerts;
        VertexData *mVerts; 
        
    };
    
}<commit_msg>move BloomSphere::VertexData to be private<commit_after>//
//  BloomSphere.h
//  Kepler
//
//  Created by <NAME> on 6/12/11.
//  Copyright 2011 Bloom Studio, Inc. All rights reserved.
//

#pragma once

#include "cinder/gl/gl.h"

namespace bloom {

    class BloomSphere
    {
      public:
        
        BloomSphere(): mInited(false) {}
        ~BloomSphere() {
            if (mInited) {
                glDeleteBuffers(1, &mVBO);
            }
        }
        
        void setup( int segments );
        void draw();

      private:
        
        struct VertexData {
            ci::Vec3f vertex;
            // no normal, normal == vertex
            ci::Vec2f texture;
        };            
        
        bool mInited;
        GLuint mVBO;
        int mNumVerts;
        VertexData *mVerts; 
        
    };
    
}
{'fraction_non_alphanumeric': 0.10681399631675875, 'fraction_numerical': 0.014732965009208104, 'mean_word_length': 1.2544951590594744, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2924364', 'n_tokens_mistral': 530, 'n_tokens_neox': 502, 'n_words': 118}