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); }
/** * @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(); }
void concat(IntPtr l1, int l2) { if (l2 == LexState.NO_JUMP) return; if (l1.i == LexState.NO_JUMP) l1.i = l2; else { int list = l1.i; int next; while ((next = this.getjump(list)) != LexState.NO_JUMP) /* find last element */ list = next; this.fixjump(list, l2); } }
/*</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); }
public static int getDefaultFractionDigitsForCurrencyCode(String currencyCode) { IntPtr ptr = new IntPtr(); getDecimalInfoForCurrencyCode(currencyCode, ptr, new DoublePtr()); return ptr.get(); }