<commit_before>define(['pex/gl/Context', 'pex/geom/Vec3', 'pex/geom/Quat', 'pex/geom/Mat4', 'pex/geom/Face3', 'pex/geom/Face4'],
function(Context, Vec3, Quat, Mat4, Face3, Face4) {
  function Mesh(geometry, material) {
    this.gl = Context.currentContext.gl;
    this.geometry = geometry;
    this.material = material;

    this.gl = Context.currentContext.gl;
    //this.primitiveType = (primitiveType !== undefined) ? primitiveType : this.gl.TRIANGLES;
    this.primitiveType = this.gl.TRIANGLES;
    this.attributes = {};
    this.usage = this.gl.STATIC_DRAW;<commit_msg>Added primitive type to Mesh<commit_after>define(['pex/gl/Context', 'pex/geom/Vec3', 'pex/geom/Quat', 'pex/geom/Mat4', 'pex/geom/Face3', 'pex/geom/Face4'],
function(Context, Vec3, Quat, Mat4, Face3, Face4) {
  function Mesh(geometry, material, options) {
    this.gl = Context.currentContext.gl;
    this.geometry = geometry;
    this.material = material;
    options = options || {};

    this.gl = Context.currentContext.gl;
    this.primitiveType = (options.primitiveType !== undefined) ? options.primitiveType : this.gl.TRIANGLES;
    this.attributes = {};
    this.usage = this.gl.STATIC_DRAW;
{'fraction_non_alphanumeric': 0.16027280477408354, 'fraction_numerical': 0.013640238704177323, 'mean_word_length': 4.082251082251083, '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': '3782686', 'n_tokens_mistral': 424, 'n_tokens_neox': 406, 'n_words': 70}