aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/jogamp/opencl/demos/julia3d/structs/Camera64.java
blob: f82d3b3e079efd2b9543935184f0b379d2d57fbe (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
45
46
47
48
/* !---- 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 Camera64 extends Camera {

  private final Vec orig;
  private final Vec target;
  private final Vec dir;
  private final Vec x;
  private final Vec y;

  public static int size() {
    return 60;
  }

  Camera64(java.nio.ByteBuffer buf) {
    super(buf);
    orig = Vec.create(accessor.slice(0, 12));
    target = Vec.create(accessor.slice(12, 12));
    dir = Vec.create(accessor.slice(24, 12));
    x = Vec.create(accessor.slice(36, 12));
    y = Vec.create(accessor.slice(48, 12));
  }


  public Vec getOrig() {
    return orig;
  }

  public Vec getTarget() {
    return target;
  }

  public Vec getDir() {
    return dir;
  }

  public Vec getX() {
    return x;
  }

  public Vec getY() {
    return y;
  }
}