Exemple #1
0
 /**
  * Registriert diesen Ray für das spätere Cache
  *
  * @see #Cache
  * @see Vector3#recycle(Vector3)
  */
 public void recycle() {
   Cache.registerElement(this);
 }
Exemple #2
0
 /**
  * Recyclet einen Ray
  *
  * @param box Der zu recyclende Ray
  * @see #Cache
  * @see AxisAlignedBox#recycle()
  */
 public static void recycle(@NotNull final Ray3 box) {
   Cache.registerElement(box);
 }
 /**
  * Recyclet eine Box
  *
  * @param box Die zu recyclende Box
  * @see #Cache
  * @see AxisAlignedBox#recycle()
  */
 public static void recycle(@NotNull final AxisAlignedBox box) {
   Cache.registerElement(box);
 }