1 /******************************************************************************* 2 * Copyright 2011 See AUTHORS file. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 ******************************************************************************/ 16 17 package com.badlogic.gdx.backends.iosmoe.objectal; 18 19 import com.intel.moe.natj.c.StructObject; 20 import com.intel.moe.natj.c.ann.Structure; 21 import com.intel.moe.natj.c.ann.StructureField; 22 import com.intel.moe.natj.general.NatJ; 23 import com.intel.moe.natj.general.Pointer; 24 import com.intel.moe.natj.general.ann.Generated; 25 26 @Generated 27 @Structure() 28 public final class ALPoint extends StructObject { 29 static { 30 NatJ.register(); 31 } 32 private static long __natjCache; 33 34 @Generated 35 public ALPoint() { 36 super(ALPoint.class); 37 } 38 39 @Generated 40 protected ALPoint(Pointer peer) { 41 super(peer); 42 } 43 44 @Generated 45 public ALPoint(float x, float y, float z) { 46 super(ALPoint.class); 47 setX(x); 48 setY(y); 49 setZ(z); 50 } 51 52 @Generated 53 @StructureField(order = 0, isGetter = true) 54 public native float x(); 55 56 @Generated 57 @StructureField(order = 0, isGetter = false) 58 public native void setX(float value); 59 60 @Generated 61 @StructureField(order = 1, isGetter = true) 62 public native float y(); 63 64 @Generated 65 @StructureField(order = 1, isGetter = false) 66 public native void setY(float value); 67 68 @Generated 69 @StructureField(order = 2, isGetter = true) 70 public native float z(); 71 72 @Generated 73 @StructureField(order = 2, isGetter = false) 74 public native void setZ(float value); 75 } 76