History

Removing access to the gl widget and display managers

Brad Davis committed 11 years ago

Commit 302aa9d1 parent 539063035 files · +401 −440Browse files

Showing the changes to libraries/shared/src/GLMHelpers.cpp (1 of 35 files). Show all

Unified · Split

libraries/shared/src/GLMHelpers.cpp+4−0
@@ -336,6 +336,10 @@ QMatrix4x4 fromGlm(const glm::mat4 & m) { · 335 unmodified lines
336336 return QMatrix4x4(&m[0][0]).transposed();
337337 }
338338
339+QSize fromGlm(const glm::ivec2 & v) {
340+ return QSize(v.x, v.y);
341+}
342+
339343 QRectF glmToRect(const glm::vec2 & pos, const glm::vec2 & size) {
340344 QRectF result(pos.x, pos.y, size.x, size.y);
341345 return result;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t