From 2c85c416d85205ab98b33e1a0b0daab32d4d81ff Mon Sep 17 00:00:00 2001
From: Michael Bien <mbien@fh-landshut.de>
Date: Mon, 12 Apr 2010 22:27:03 +0200
Subject: changes due to package renaming in jocl.

---
 .../opencl/demos/julia3d/structs/Camera.java       | 50 ++++++++++++++++++++++
 1 file changed, 50 insertions(+)
 create mode 100644 src/com/jogamp/opencl/demos/julia3d/structs/Camera.java

(limited to 'src/com/jogamp/opencl/demos/julia3d/structs/Camera.java')

diff --git a/src/com/jogamp/opencl/demos/julia3d/structs/Camera.java b/src/com/jogamp/opencl/demos/julia3d/structs/Camera.java
new file mode 100644
index 0000000..68c567c
--- /dev/null
+++ b/src/com/jogamp/opencl/demos/julia3d/structs/Camera.java
@@ -0,0 +1,50 @@
+/* !---- 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;
+
+import com.jogamp.common.nio.*;
+
+
+public abstract class Camera {
+
+  StructAccessor accessor;
+
+  public static int size() {
+//    if (CPU.is32Bit()) {
+//      return Camera32.size();
+//    } else {
+      return Camera64.size();
+//    }
+  }
+
+  public static Camera create() {
+    return create(Buffers.newDirectByteBuffer(size()));
+  }
+
+  public static Camera create(java.nio.ByteBuffer buf) {
+//    if (CPU.is32Bit()) {
+//      return new Camera32(buf);
+//    } else {
+      return new Camera64(buf);
+//    }
+  }
+
+  Camera(java.nio.ByteBuffer buf) {
+    accessor = new StructAccessor(buf);
+  }
+
+  public java.nio.ByteBuffer getBuffer() {
+    return accessor.getBuffer();
+  }
+
+  public abstract Vec getOrig();
+
+  public abstract Vec getTarget();
+
+  public abstract Vec getDir();
+
+  public abstract Vec getX();
+
+  public abstract Vec getY();
+}
-- 
cgit v1.2.3