MCPcopy Create free account
hub / github.com/ddnet/ddnet / ColorValue

Method ColorValue

src/game/mapitems.cpp:3–6  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#include <game/mapitems.h>
2
3ColorRGBA CEnvPoint::ColorValue() const
4{
5 return ColorRGBA(fx2f(m_aValues[0]), fx2f(m_aValues[1]), fx2f(m_aValues[2]), fx2f(m_aValues[3]));
6}
7
8void CEnvPoint::SetColorValue(const ColorRGBA &Color)
9{

Callers 4

DoQuadEnvelopesMethod · 0.80
PopupEnvPointMethod · 0.80
ApplyMethod · 0.80

Calls 2

fx2fFunction · 0.85
ColorRGBAClass · 0.50

Tested by

no test coverage detected