You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run triangle-util and resize the window. The triangle doesn't move. This is because the viewport is never updated.
I originally wrote the triangle-util example, so this is probably my fault, but I'd also like to drag Viewport's documentation down with me. Specifically the documentation of its field called extent. Extent's documentation is: "Dimensions in pixels of the viewport. The default value is [1.0; 2], which you probably want to override if you are not using dynamic state.". Even with dynamic viewport enabled you still need to override the default.
The documentation should be changed, and the example fixed. (Should also check to see if any other examples suffer from this.)
The text was updated successfully, but these errors were encountered:
coolcatcoder
changed the title
Dynamic viewport documentation and examples are wrong.
Viewport extent documentation and examples are wrong.
Oct 20, 2024
Run triangle-util and resize the window. The triangle doesn't move. This is because the viewport is never updated.
I originally wrote the triangle-util example, so this is probably my fault, but I'd also like to drag Viewport's documentation down with me. Specifically the documentation of its field called extent. Extent's documentation is: "Dimensions in pixels of the viewport. The default value is
[1.0; 2]
, which you probably want to override if you are not using dynamic state.". Even with dynamic viewport enabled you still need to override the default.The documentation should be changed, and the example fixed. (Should also check to see if any other examples suffer from this.)
The text was updated successfully, but these errors were encountered: