We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 163b31f commit 3d561a7Copy full SHA for 3d561a7
src/eloquent/vision/image/BaseImage.h
@@ -145,8 +145,9 @@ namespace Eloquent {
145
* Set pixel at (x, y)
146
* @param x
147
* @param y
148
+ * @param value
149
*/
- uint8_t set(uint16_t x, uint16_t y, value) {
150
+ uint8_t set(uint16_t x, uint16_t y, uint8_t value) {
151
return at(x, y, 0, value);
152
}
153
@@ -156,7 +157,7 @@ namespace Eloquent {
156
157
158
* @param z
159
- uint8_t set(uint16_t x, uint16_t y, uint8_t z, uin8_t value) {
160
+ uint8_t set(uint16_t x, uint16_t y, uint8_t z, uint8_t value) {
161
return set(y * getWidth() * getBytesPerPixel() + x * getBytesPerPixel() + z, value);
162
163
0 commit comments