All Downloads are FREE. Search and download functionalities are using the official Maven repository.

top.hendrixshen.magiclib.api.compat.mojang.math.Vector3fCompat Maven / Gradle / Ivy

There is a newer version: 0.6.59
Show newest version
package top.hendrixshen.magiclib.api.compat.mojang.math;

import org.joml.Vector3f;
import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import org.jetbrains.annotations.NotNull;
import top.hendrixshen.magiclib.impl.compat.mojang.math.Vector3fCompatImpl;
import top.hendrixshen.magiclib.util.collect.Provider;

@Environment(EnvType.CLIENT)
public interface Vector3fCompat extends Provider {
    static @NotNull Vector3fCompat of(@NotNull Vector3f vector3f) {
        return new Vector3fCompatImpl(vector3f);
    }

    QuaternionCompat rotationDegrees(float degrees);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy