MCPcopy Create free account
hub / github.com/cuberite/cuberite / SetPixel

Method SetPixel

Tools/BiomeVisualiser/Pixmap.cpp:60–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58
59
60void cPixmap::SetPixel(int a_X, int a_Y, int a_Color)
61{
62 ASSERT(a_X >= 0);
63 ASSERT(a_X < m_Width);
64 ASSERT(a_Y >= 0);
65 ASSERT(a_Y < m_Height);
66
67 m_Pixels[a_X + a_Y * m_Stride] = a_Color;
68}
69
70
71

Callers 1

RenderMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected