diff --git a/Startcode/matrix.h b/Startcode/matrix.h index 6b5ec23..4467066 100644 --- a/Startcode/matrix.h +++ b/Startcode/matrix.h @@ -7,12 +7,11 @@ typedef float MatrixType; // TODO Matrixtyp definieren typedef struct { + MatrixType *buffer; unsigned int rows; unsigned int cols; - MatrixType *buffer; } Matrix; - Matrix createMatrix(unsigned int rows, unsigned int cols); void clearMatrix(Matrix *matrix); void setMatrixAt(MatrixType value, Matrix matrix, unsigned int rowIdx, unsigned int colIdx);