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

com.oculusvr.capi.OvrVector2i 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;

public class OvrVector2i extends Structure implements Structure.ByValue {
  public static final int SIZE = 8;

  public int x = 0;
  public int y = 0;

  public OvrVector2i() {
    super();
  }

  public OvrVector2i(int x, int y) {
    super();
    this.x = x;
    this.y = y;
  }

  public OvrVector2i(Pointer peer) {
    super(peer);
  }

  @Override
  protected List getFieldOrder() {
    return Arrays.asList("x", "y");
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy