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

vr.HmdMatrix44_t Maven / Gradle / Ivy

The newest version!
package vr;

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. * * right-handed system * +y is up * +x is to the right * -z is going away from you * Distance unit is meters */ public class HmdMatrix44_t extends Structure { /** * float[4][4]
* C type : float[4][4] */ public float[] m = new float[((4) * (4))]; public HmdMatrix44_t() { super(); } @Override protected List getFieldOrder() { return Arrays.asList("m"); } /** * @param m float[4][4]
* C type : float[4][4] */ public HmdMatrix44_t(float m[]) { super(); if ((m.length != this.m.length)) { throw new IllegalArgumentException("Wrong array size !"); } this.m = m; } public HmdMatrix44_t(Pointer peer) { super(peer); read(); } public static class ByReference extends HmdMatrix44_t implements Structure.ByReference { }; public static class ByValue extends HmdMatrix44_t implements Structure.ByValue { }; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy