Expand description

Package containing the viewport logic

Structs

Entity in charge of offering the functions to draw on the screen and handle to logic of the operation. It works using three-dimensional normalized vectors of type (x: f32, y: f32, z: f32). The point to draw in the screen will be the one relative to given position in the x and y axes. So, any point outside the (-1.0, 1.0) range will not be drawn. The z value works as a layer function, it will draw only the point with the highest z on the same translated pixel.

Factory to build the viewports for the different window tools, currently it offers the following:

Type Definitions

Viewport for rendering with winit