Changed set_pixel and set_matrix to underscores

This commit is contained in:
DrMaxNix 2021-02-21 21:46:21 +01:00 committed by GitHub
parent 74234f32a1
commit e78fa020dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -130,7 +130,7 @@ class Pixelimg {
/*
Set pixel at X, Y to COLOR
*/
setPixel(OPTIONS){
set_pixel(OPTIONS){
// CHECK AND GET INPUTS //
//x
if(OPTIONS.x === parseInt(OPTIONS.x, 10) && OPTIONS.x > -1 && OPTIONS.x < this.matrix_width){
@ -171,7 +171,7 @@ class Pixelimg {
/*
Update whole matrix from 2d-array
*/
setMatrix(MATRIX){
set_matrix(MATRIX){
// SET NEW MATRIX //
this.matrix = MATRIX;