Beispiel #1
0
 private void sync() {
   nativeGetViewport(IntercomHelper.getBuffer());
   this.viewport = IntercomHelper.decodeFloatRect();
   this.size = IntercomHelper.decodeVector2f(nativeGetSize());
   this.center = IntercomHelper.decodeVector2f(nativeGetCenter());
   this.rotation = nativeGetRotation();
   transformNeedsUpdate = true;
 }