top.hendrixshen.magiclib.api.compat.mojang.math.QuaternionCompat Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of magiclib-minecraft-api-1.19.3-fabric Show documentation
Show all versions of magiclib-minecraft-api-1.19.3-fabric Show documentation
Unleash magic into Minecraft, infuse souls, ascend to heaven!
package top.hendrixshen.magiclib.api.compat.mojang.math;
import org.joml.Quaternionf;
import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import org.jetbrains.annotations.NotNull;
import top.hendrixshen.magiclib.impl.compat.mojang.math.QuaternionCompatImpl;
import top.hendrixshen.magiclib.util.collect.Provider;
@Environment(EnvType.CLIENT)
public interface QuaternionCompat extends Provider {
QuaternionCompat ONE = QuaternionCompat.of(new Quaternionf(0.0F, 0.0F, 0.0F, 1.0F));
static @NotNull QuaternionCompat of(@NotNull Quaternionf quaternion) {
return new QuaternionCompatImpl(quaternion);
}
void mul(float f);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy