This site has been permanently archived. The content on this site was last updated in 2019.
gvr_rectf
#include <gvr_types.h>
A floating point 2D rect.
Summary
Used for field of view, and also for ranges in texture space. When used for a field of view, all angles are in positive degrees from the optical axis.
Public attributes
bottom
float gvr_rectf::bottom
left
float gvr_rectf::left
right
float gvr_rectf::right
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-09 UTC.
[null,null,["Last updated 2024-10-09 UTC."],[[["`gvr_rectf` is a data structure representing a 2D rectangle using floating-point values for its boundaries."],["This structure is primarily utilized to define field of view angles and texture space ranges."],["When defining a field of view, `gvr_rectf` uses positive degree values measured from the optical axis."],["`gvr_rectf` includes four public attributes: `bottom`, `left`, `right`, and `top` which are all represented as floats."]]],["The `gvr_rectf` structure, defined in `gvr_types.h`, represents a 2D rectangle using floating-point values. It is used for specifying field of view and texture space ranges, where angles are positive degrees from the optical axis. The structure has four public attributes: `bottom`, `left`, `right`, and `top`, each a `float` that defines the respective edge of the rectangle. These attributes are accessible directly for defining the rectangular region.\n"]]