aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/jogamp/opencl/demos/julia3d/structs/Vec32.java
blob: 09ea0d982df43030ab857b457fec7ce0129c7825 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/* !---- DO NOT EDIT: This file autogenerated by com/sun/gluegen/JavaEmitter.java on Tue Feb 09 18:20:26 CET 2010 ----! */


package com.jogamp.opencl.demos.julia3d.structs;


class Vec32 extends Vec {

  public static int size() {
    return 12;
  }

  Vec32(java.nio.ByteBuffer buf) {
    super(buf);
  }


  public Vec setX(float val) {
    accessor.setFloatAt(4*0, val);
    return this;
  }

  public float getX() {
    return accessor.getFloatAt(4*0);
  }

  public Vec setY(float val) {
    accessor.setFloatAt(4*1, val);
    return this;
  }

  public float getY() {
    return accessor.getFloatAt(4*1);
  }

  public Vec setZ(float val) {
    accessor.setFloatAt(4*2, val);
    return this;
  }

  public float getZ() {
    return accessor.getFloatAt(4*2);
  }
}