mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-04 19:36:43 +03:00
* macOS Support & Cleanup * Fix malformed comments in build-wasm.bat * Emscripten Fixes * * Add shebang to the grabsounds.py script Since it was changed from rw- to rwx, I'll add the shebang so that it actually runs properly. * * Re-add the patch_data and readme files. * * Remove sound data. * Fix some more things. * Think it's ready to pull now... --------- Co-authored-by: BrentDaMage <BrentDaMage@users.noreply.github.com> Co-authored-by: iProgramInCpp <iprogramincpp@gmail.com>
29 lines
681 B
C++
29 lines
681 B
C++
/********************************************************************
|
|
Minecraft: Pocket Edition - Decompilation Project
|
|
Copyright (C) 2023 iProgramInCpp
|
|
|
|
The following code is licensed under the BSD 1 clause license.
|
|
SPDX-License-Identifier: BSD-1-Clause
|
|
********************************************************************/
|
|
|
|
#pragma once
|
|
|
|
struct VertexPT
|
|
{
|
|
float x, y, z;
|
|
float u , v ;
|
|
|
|
VertexPT()
|
|
{
|
|
x = 0; y = 0; z = 0;
|
|
u = 0; v = 0;
|
|
}
|
|
VertexPT(float x, float y, float z) : x(x), y(y), z(z) {}
|
|
VertexPT(float x, float y, float z, float(u), float(v)) : x(x), y(y), z(z), u(u), v(v) {}
|
|
|
|
void setUV(float _u, float _v)
|
|
{
|
|
u = _u; v = _v;
|
|
}
|
|
};
|