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

com.oculusvr.capi.OvrMatrix4f Maven / Gradle / Ivy

There is a newer version: 1.8.0.0
Show newest version
package com.oculusvr.capi;

import java.util.Arrays;
import java.util.List;

import com.sun.jna.Pointer;
import com.sun.jna.Structure;

/**
 * native declaration : /usr/include/stdint.h
* 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 OvrMatrix4f extends Structure { /** C type : float[4][4] */ public float[] M = new float[((4) * (4))]; public OvrMatrix4f() { super(); } @Override protected List getFieldOrder() { return Arrays.asList("M"); } /** * @param M * C type : float[4][4] */ public OvrMatrix4f(float M[]) { super(); if ((M.length != this.M.length)) throw new IllegalArgumentException("Wrong array size !"); this.M = M; } public OvrMatrix4f(Pointer peer) { super(peer); } public static class ByReference extends OvrMatrix4f implements Structure.ByReference { }; public static class ByValue extends OvrMatrix4f implements Structure.ByValue { public ByValue() { } public ByValue(OvrMatrix4f m) { super(m.M); } }; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy