|
wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
|
The magma/slime reading of an MCLQ vertex (8 bytes): two u16 texcoords and the shared height. More...
#include <wowlib/formats/adt/chunks/liquid.hpp>
Public Member Functions | |
| bool | operator== (const SMVert &) const =default |
Public Attributes | |
| std::uint16_t | s = 0 |
| Texture coordinate s. | |
| std::uint16_t | t = 0 |
| Texture coordinate t. | |
| float | height = 0 |
| Liquid surface height (shared with the water reading). | |
The magma/slime reading of an MCLQ vertex (8 bytes): two u16 texcoords and the shared height.
Obtain one with SLVert.asMagma(). The magma/slime reading of a legacy liquid vertex (MCLQ): u16 texture coordinates s, t and the shared height. See SLVert.as_magma().
Definition at line 44 of file liquid.hpp.
|
default |
| float wowlib::formats::adt::chunks::SMVert::height = 0 |
Liquid surface height (shared with the water reading).
Definition at line 50 of file liquid.hpp.
| std::uint16_t wowlib::formats::adt::chunks::SMVert::s = 0 |
Texture coordinate s.
Definition at line 46 of file liquid.hpp.
| std::uint16_t wowlib::formats::adt::chunks::SMVert::t = 0 |
Texture coordinate t.
Definition at line 48 of file liquid.hpp.