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

top.hendrixshen.magiclib.api.compat.mojang.math.Vector4fCompat 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.Matrix4f;
import org.joml.Vector4f;
import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import org.jetbrains.annotations.NotNull;
import top.hendrixshen.magiclib.impl.compat.mojang.math.Vector4fCompatImpl;
import top.hendrixshen.magiclib.util.collect.Provider;

@Environment(EnvType.CLIENT)
public interface Vector4fCompat extends Provider {
    static @NotNull Vector4fCompat of(@NotNull Vector4f vector4f) {
        return new Vector4fCompatImpl(vector4f);
    }

    void transform(@NotNull Matrix4f matrix4f);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy