Relative Content

Tag Archive for c++matrixsegmentation-faultgame-developmentsfml

Segmentation fault when trying to acess matrix

I’m trying to develop a falling sand game simulation with C++ and SFML, but i’m having a problem with a function that is acessing the matrix that represents the cell blocks from the game, here i have the Grid class: