33 lines
713 B
Java
33 lines
713 B
Java
//
|
|
// Decompiled by Procyon v0.5.36
|
|
//
|
|
|
|
package com.mojang.minecraft.character;
|
|
|
|
public class Vertex
|
|
{
|
|
public Vec3 pos;
|
|
public float u;
|
|
public float v;
|
|
|
|
public Vertex(final float x, final float y, final float z, final float u, final float v) {
|
|
this(new Vec3(x, y, z), u, v);
|
|
}
|
|
|
|
public Vertex remap(final float u, final float v) {
|
|
return new Vertex(this, u, v);
|
|
}
|
|
|
|
public Vertex(final Vertex vertex, final float u, final float v) {
|
|
this.pos = vertex.pos;
|
|
this.u = u;
|
|
this.v = v;
|
|
}
|
|
|
|
public Vertex(final Vec3 pos, final float u, final float v) {
|
|
this.pos = pos;
|
|
this.u = u;
|
|
this.v = v;
|
|
}
|
|
}
|