46 glm::mat4 result{1}; |
46 glm::mat4 result{1}; |
47 for (int column = 0; column < countof(this->spinboxes); column += 1) |
47 for (int column = 0; column < countof(this->spinboxes); column += 1) |
48 { |
48 { |
49 for (int row = 0; row < countof(this->spinboxes[0]); row += 1) |
49 for (int row = 0; row < countof(this->spinboxes[0]); row += 1) |
50 { |
50 { |
51 result[column][row] = this->spinboxes[column][row]->value(); |
51 result[column][row] = narrow<float>(this->spinboxes[column][row]->value()); |
52 } |
52 } |
53 } |
53 } |
54 return result; |
54 return result; |
55 } |
55 } |
56 |
56 |