예제 #1
0
파일: GLKMath.java 프로젝트: wynney/robovm
 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);
 }
예제 #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();
 }
예제 #3
0
파일: GLKMath.java 프로젝트: wynney/robovm
 /*</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);
 }