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

com.oculusvr.capi.Posef 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 Posef extends Structure { /** C type : ovrQuatf */ public OvrQuaternionf Orientation; /** C type : ovrVector3f */ public OvrVector3f Position; public Posef() { super(); } @Override protected List getFieldOrder() { return Arrays.asList("Orientation", "Position"); } /** * @param Orientation * C type : ovrQuatf
* @param Position * C type : ovrVector3f */ public Posef(OvrQuaternionf Orientation, OvrVector3f Position) { super(); this.Orientation = Orientation; this.Position = Position; } public Posef(Pointer peer) { super(peer); } public static class ByReference extends Posef implements Structure.ByReference { }; public static class ByValue extends Posef implements Structure.ByValue { public ByValue() { super(); } public ByValue(Posef pose) { super(pose.Orientation, pose.Position); } }; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy