MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / uvec4

Class uvec4

Source/Main/engine.cpp:3770–3783  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3768#define NUM_SHADOW_CASCADES 4
3769
3770struct uvec4 {
3771 union {
3772 unsigned int v[4];
3773 struct {
3774 unsigned int x, y, z, w;
3775 };
3776 };
3777
3778 uvec4() {}
3779
3780 uvec4(unsigned int x_, unsigned int y_, unsigned int z_, unsigned int w_)
3781 : x(x_), y(y_), z(z_), w(w_) {
3782 }
3783};
3784
3785struct ShadowCascadeParams {
3786 mat4 proj_view_matrix[NUM_SHADOW_CASCADES];

Callers 3

GetShadowableTrisFunction · 0.85
UpdateShadowCascadesFunction · 0.85
test_length_vecFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_length_vecFunction · 0.68