Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
esengine::MorphConstants Struct Reference

One draw's shapes, laid out as the texels they are written as. More...

#include <MorphConstants.hpp>

Public Attributes

glm::vec4 info {0.0f}
glm::vec4 shape [MESH_MAX_ACTIVE_MORPHS]
 x = which target, y = how far towards it. Only the first info.x are written.

Detailed Description

One draw's shapes, laid out as the texels they are written as.

Definition at line 28 of file MorphConstants.hpp.

Member Data Documentation

◆ info

glm::vec4 esengine::MorphConstants::info {0.0f}

x = live shapes below, y = vertices, z = texels one vertex occupies (2 where the targets bend normals), w = the delta texture's width.

Definition at line 31 of file MorphConstants.hpp.

◆ shape

glm::vec4 esengine::MorphConstants::shape[MESH_MAX_ACTIVE_MORPHS]

x = which target, y = how far towards it. Only the first info.x are written.

Definition at line 33 of file MorphConstants.hpp.


The documentation for this struct was generated from the following file: