![Trying to understand more about Method, Self, and Tables which contain functions (OOP?) - Lua Language - Solar2D Game Engine Trying to understand more about Method, Self, and Tables which contain functions (OOP?) - Lua Language - Solar2D Game Engine](https://i.imgur.com/KE5yjii.png)
Trying to understand more about Method, Self, and Tables which contain functions (OOP?) - Lua Language - Solar2D Game Engine
![Hi. I am trying to make a function to multiply a matrix with a constant, but the function in the image not only outputs the desired matrix, it also changes the original Hi. I am trying to make a function to multiply a matrix with a constant, but the function in the image not only outputs the desired matrix, it also changes the original](https://preview.redd.it/20nadcbxb8071.png?auto=webp&s=78030a258b975d9a00bc2081b9ec0ccbff87d134)
Hi. I am trying to make a function to multiply a matrix with a constant, but the function in the image not only outputs the desired matrix, it also changes the original
![sleitnick on Twitter: "Using 'table.remove' is pretty slow. If you don't care about the order of your table, here's a faster way to remove items in a table. #Lua #RobloxDev https://t.co/5io9Ftsd1K" / sleitnick on Twitter: "Using 'table.remove' is pretty slow. If you don't care about the order of your table, here's a faster way to remove items in a table. #Lua #RobloxDev https://t.co/5io9Ftsd1K" /](https://pbs.twimg.com/media/DcD406QW0AAPHlZ.jpg)