andrewrk / andrewrk/genesis

compute mvp matrixes on resize only

Đang mở
#26 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
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á.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.