/** * Registriert diesen Ray für das spätere Cache * * @see #Cache * @see Vector3#recycle(Vector3) */ public void recycle() { Cache.registerElement(this); }
/** * 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); }