All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.dabasan.jxm.pd1.PD1Point Maven / Gradle / Ivy

package com.github.dabasan.jxm.pd1;

import org.joml.Vector3f;

/**
 * PD1 point
 *
 * @author Daba
 */
public class PD1Point {
    public Vector3f position;
    public float rotation;
    public int[] parameters;

    /**
     * Creates a point.
     */
    public PD1Point() {
        position = new Vector3f();
        rotation = 0.0f;
        parameters = new int[4];
    }

    /**
     * Copies a point.
     *
     * @param point Point
     */
    public PD1Point(PD1Point point) {
        this.position = new Vector3f(point.position);
        this.rotation = point.rotation;
        this.parameters = point.parameters.clone();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy