<commit_before>//
// Created by yashal on 10/5/16.
//

#include "SpinACube.h"
static GLfloat vertices[]={-0.5,-0.5,-0.5,    -0.5,0.5,-0.5,    0.5,0.5,-0.5,   0.5,-0.5,-0.5,
                           -0.5,-0.5,0.5,     -0.5,0.5,0.5,     0.5,0.5,0.5,     0.5,-0.5,-0.5};

static GLint colors[] = {0,0,0,   0,0,1,    0,1,0,    0,1,1,
                         1,0,0,   1,0,1,    1,1,0,    1,1,1};

static GLbyte faces[] = {0,1,2,3,   2,3,7,6,   4,5,6,7,  4,5,1,0,   5,6,2,1,   0,3,7,4};

int currentAxis[3] = {0, 0, 1};

int SpinACube::main(int argc, char **argv) {
  glutInit(&argc, argv);
  glutInitWindowSize(700, 700);
  glutCreateWindow("Click to spin the cube");
  glutDisplayFunc(display);
  // Sets global idle for animations etc.<commit_msg>nit:style<commit_after>//
// Created by yashal on 10/5/16.
//

#include "SpinACube.h"
static GLfloat vertices[]={-0.5,-0.5,-0.5,    -0.5,0.5,-0.5,    0.5,0.5,-0.5,   0.5,-0.5,-0.5,
                           -0.5,-0.5,0.5,     -0.5,0.5,0.5,     0.5,0.5,0.5,    0.5,-0.5,-0.5};

static GLint colors[] = {0,0,0,   0,0,1,    0,1,0,    0,1,1,
                         1,0,0,   1,0,1,    1,1,0,    1,1,1};

static GLbyte faces[] = {0,1,2,3,   2,3,7,6,   4,5,6,7,  4,5,1,0,   5,6,2,1,   0,3,7,4};

int currentAxis[3] = {0, 0, 1};

int SpinACube::main(int argc, char **argv) {
  glutInit(&argc, argv);
  glutInitWindowSize(700, 700);
  glutCreateWindow("Click to spin the cube");
  glutDisplayFunc(display);
  // Sets global idle for animations etc.
{'fraction_non_alphanumeric': 0.23707186030893218, 'fraction_numerical': 0.1490933512424446, 'mean_word_length': 2.211206896551724, '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': '7184608', 'n_tokens_mistral': 764, 'n_tokens_neox': 727, 'n_words': 127}