<commit_before># -*- coding:utf-8 -*- 


#
# Display a mesh with OpenGL 3 core profile
#


#
# External dependencies
#
import math
import numpy as np
import OpenGL.GL as gl
from PyMeshToolkit.Viewer.Trackball import Trackball
from PyMeshToolkit.Viewer.Shader import FlatShader, SmoothShader


#
# Display a mesh with OpenGL
#
class MeshViewer( Trackball ) :

	#
	# Initialisation of OpenGL
	#
	def Initialise( self, width, height ) :

		# Initialise the trackball
		Trackball.Initialise( self, width, height )

		# Default background color
		gl.glClearColor( 1, 1, 1, 1 )

		# Enable depth test
		gl.glEnable( gl.GL_DEPTH_TEST )

		# Enable face culling<commit_msg>Rename Initialise function to InitialiseOpenGL.<commit_after># -*- coding:utf-8 -*- 


#
# Display a mesh with OpenGL 3 core profile
#


#
# External dependencies
#
import math
import numpy as np
import OpenGL.GL as gl
from PyMeshToolkit.Viewer.Trackball import Trackball
from PyMeshToolkit.Viewer.Shader import FlatShader, SmoothShader


#
# Display a mesh with OpenGL
#
class MeshViewer( Trackball ) :

	#
	# Initialisation of OpenGL
	#
	def InitialiseOpenGL( self, width, height ) :

		# Initialise the trackball
		Trackball.Initialise( self, width, height )

		# Default background color
		gl.glClearColor( 1, 1, 1, 1 )

		# Enable depth test
		gl.glEnable( gl.GL_DEPTH_TEST )

		# Enable face culling
{'fraction_non_alphanumeric': 0.08394160583941605, 'fraction_numerical': 0.008759124087591242, 'mean_word_length': 3.8617021276595747, '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': '3498404', 'n_tokens_mistral': 490, 'n_tokens_neox': 441, 'n_words': 143}