mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-07-13 15:08:07 +00:00
refactor: remove calls to Vec3::newTemp and Vec3::newPermanent
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#include "Vertex.h"
|
||||
|
||||
Vertex::Vertex(float x, float y, float z, float u, float v) {
|
||||
this->pos = Vec3::newPermanent(x, y, z);
|
||||
this->pos = new Vec3(x, y, z);
|
||||
this->u = u;
|
||||
this->v = v;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user