aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/mbien/opencl/demos/julia3d/structs/Camera32.java
blob: 85dea514f75d78f3338feb6248abde89c9fcc712 (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
/* !---- DO NOT EDIT: This file autogenerated by com/sun/gluegen/JavaEmitter.java on Tue Feb 09 18:20:26 CET 2010 ----! */


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

import java.nio.*;

import com.jogamp.gluegen.runtime.*;


class Camera32 extends Camera {

  public static int size() {
    return 76;
  }

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


  public Vec getOrig() {
    return Vec.create(accessor.slice(0, 12));
  }

  public Vec getTarget() {
    return Vec.create(accessor.slice(16, 12));
  }

  public Vec getDir() {
    return Vec.create(accessor.slice(32, 12));
  }

  public Vec getX() {
    return Vec.create(accessor.slice(48, 12));
  }

  public Vec getY() {
    return Vec.create(accessor.slice(64, 12));
  }
}