com.jme3.system.osvr.osvrmatrixconventions.OSVR_Quaternion Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jme3-vr Show documentation
Show all versions of jme3-vr Show documentation
jMonkeyEngine is a 3-D game engine for adventurous Java developers
package com.jme3.system.osvr.osvrmatrixconventions;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
import java.util.Arrays;
import java.util.List;
/**
* This file was autogenerated by JNAerator,
* a tool written by Olivier Chafik that uses a few opensource projects..
* For help, please visit NativeLibs4Java , Rococoa, or JNA.
*/
public class OSVR_Quaternion extends Structure {
/** C type : double[4] */
public double[] data = new double[4];
public OSVR_Quaternion() {
super();
}
@Override
protected List getFieldOrder() {
return Arrays.asList("data");
}
/** @param data C type : double[4] */
public OSVR_Quaternion(double data[]) {
super();
if ((data.length != this.data.length))
throw new IllegalArgumentException("Wrong array size !");
this.data = data;
}
public OSVR_Quaternion(Pointer peer) {
super(peer);
}
public static class ByReference extends OSVR_Quaternion implements Structure.ByReference {
};
public static class ByValue extends OSVR_Quaternion implements Structure.ByValue {
};
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy