User Tools

Site Tools


2d_geometric_shapes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
2d_geometric_shapes [2022/10/03 17:05]
max added rectangle sections
2d_geometric_shapes [2022/10/03 17:08] (current)
max [Oriented Rectangle]
Line 29: Line 29:
  
  
 +===== Oriented Rectangle =====
 +Unlike the regular 2D Rectangle, an oriented Rectangle can be, as the name suggests, rotated. 
  
 +As such, it is constructed with it's ''position'' (Point2D) and ''halfExtents'' (Vector2).
 +
 +If you wish, you are also capable of immediately constructing it with rotation, by giving the same variables as above, but with an additional ''rotation'' variable (float).
  
2d_geometric_shapes.1664816748.txt.gz ยท Last modified: 2022/10/03 17:05 by max