compute mvp matrixes on resize only
Đang mở
optimization
- Ngôn ngữ chính
- C++
- Star
- 201
- Fork
- 22
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Currently, all the drawing code does `projection * model` in draw(). Really, we can do this in the update phase before the draw phase, as long as we recompute mvps on_resize. Now that the widget API is solidified, that is a reasonable assumption.
This will avoid a considerable amount of matrix multiplication in draw().
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.