Exemplo n.º 1
0
 public static GLKVector3 unproject(
     GLKVector3 window,
     GLKMatrix4 model,
     GLKMatrix4 projection,
     int[] viewport,
     BooleanPtr success) {
   IntPtr ptr = new IntPtr();
   ptr.set(viewport);
   return unproject(window, model, projection, ptr, success);
 }
Exemplo n.º 2
0
 /**
  * @throws OSStatusException
  * @since Available in iOS 2.0 and later.
  */
 public int getPropertySize(Struct<?> specifier) throws OSStatusException {
   IntPtr ptr = new IntPtr();
   OSStatus status =
       getPropertyInfo0(
           this,
           specifier == null ? 0 : Struct.sizeOf(specifier),
           specifier == null ? null : specifier.as(VoidPtr.class),
           ptr);
   OSStatusException.throwIfNecessary(status);
   return ptr.get();
 }
Exemplo n.º 3
0
 /*</members>*/
 public static GLKVector3 project(
     GLKVector3 object, GLKMatrix4 model, GLKMatrix4 projection, int[] viewport) {
   IntPtr ptr = new IntPtr();
   ptr.set(viewport);
   return project(object, model, projection, ptr);
 }