| 206 | } |
| 207 | |
| 208 | public static class Vector4 extends Structure { |
| 209 | |
| 210 | public Vector4() { |
| 211 | } |
| 212 | |
| 213 | public Vector4(float x, float y, float z, float w) { |
| 214 | this.x = x; |
| 215 | this.y = y; |
| 216 | this.z = z; |
| 217 | this.w = w; |
| 218 | } |
| 219 | |
| 220 | public Vector4(Pointer position) { |
| 221 | super(position); |
| 222 | } |
| 223 | |
| 224 | public float x; |
| 225 | public float y; |
| 226 | public float z; |
| 227 | public float w; |
| 228 | |
| 229 | @Override |
| 230 | protected List<String> getFieldOrder() { |
| 231 | return Arrays.asList("x", "y", "z", "w"); |
| 232 | } |
| 233 | } |
| 234 | |
| 235 | public static class Quat extends Structure { |
| 236 |
no outgoing calls