<commit_before>package com.jme.scene.model.ms3d;



import java.io.IOException;

import java.net.URL;

import com.jme.math.Vector3f;
import com.jme.math.Quaternion;
import com.jme.math.TransformMatrix;
import com.jme.system.JmeException;
import com.jme.renderer.ColorRGBA;
import com.jme.util.LittleEndien;

/**
 * Helper class for MilkLoader to hold loaded .ms3d files.
 *
 * @author <NAME>
 */
class MilkFile {

    private LittleEndien file;
    private int nNumVertices;
    MilkshapeTriangle[] myTri;
    private int nNumTriangles;
    byte[] boneID;
    Vector3f[] vertexes;
//    private int[] vertexIndextoGroup;
    int nNumGroups;
    MilkshapeGroup[] myGroups;
    private int nNumMaterials;
    private MilkshapeMaterial[] myMats;
    int iTotalFrames;
    int nNumJoints;
    MilkJoint[] myJoints;
    private URL baseURL;
    public float speed;


    private void invertWithParents() {
        for (int i=0;i<nNumJoints;i++){
            myJoints[i].inverseChainMatrix=new TransformMatrix(myJoints[i].localRefMatrix);
            myJoints[i].inverseChainMatrix.inverse();
            if (myJoints[i].parentIndex!=-1)
                myJoints[i].inverseChainMatrix.multLocal(myJoints[myJoints[i].parentIndex].inverseChainMatrix);
        }
    }

    private MilkFile(){ // used to create copies
    }

    MilkFile(URL baseURL,LittleEndien file) {
        this.file=file;
        this.baseURL=baseURL;
        loadInfo();
        processFile();
    }


    private void processFile() {

        for (int i=0;i<nNumGroups;i++){<commit_msg>Mult update in TransformGroup<commit_after>package com.jme.scene.model.ms3d;



import java.io.IOException;

import java.net.URL;

import com.jme.math.Vector3f;
import com.jme.math.Quaternion;
import com.jme.math.TransformMatrix;
import com.jme.system.JmeException;
import com.jme.renderer.ColorRGBA;
import com.jme.util.LittleEndien;

/**
 * Helper class for MilkLoader to hold loaded .ms3d files.
 *
 * @author <NAME>
 */
class MilkFile {

    private LittleEndien file;
    private int nNumVertices;
    MilkshapeTriangle[] myTri;
    private int nNumTriangles;
    byte[] boneID;
    Vector3f[] vertexes;
//    private int[] vertexIndextoGroup;
    int nNumGroups;
    MilkshapeGroup[] myGroups;
    private int nNumMaterials;
    private MilkshapeMaterial[] myMats;
    int iTotalFrames;
    int nNumJoints;
    MilkJoint[] myJoints;
    private URL baseURL;
    public float speed;


    private void invertWithParents() {
        Vector3f temp=new Vector3f();
        for (int i=0;i<nNumJoints;i++){
            myJoints[i].inverseChainMatrix=new TransformMatrix(myJoints[i].localRefMatrix);
            myJoints[i].inverseChainMatrix.inverse();
            if (myJoints[i].parentIndex!=-1)
                myJoints[i].inverseChainMatrix.multLocal(myJoints[myJoints[i].parentIndex].inverseChainMatrix,temp);
        }
    }

    private MilkFile(){ // used to create copies
    }

    MilkFile(URL baseURL,LittleEndien file) {
        this.file=file;
        this.baseURL=baseURL;
        loadInfo();
        processFile();
    }


    private void processFile() {

        for (int i=0;i<nNumGroups;i++){
{'fraction_non_alphanumeric': 0.10963665086887836, 'fraction_numerical': 0.005055292259083728, 'mean_word_length': 3.095730918499353, 'pattern_counts': {'":': 0, '<': 9, '<?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': '7475906', 'n_tokens_mistral': 1096, 'n_tokens_neox': 1032, 'n_words': 209}