Skip to content

Commit dc58497

Browse files
authored
Merge pull request bevyengine#5 from Weibye/remove-angle
Remove angle as a component
2 parents 957bfca + 7a5e2c1 commit dc58497

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

rfcs/12-primitive-shapes.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,6 @@ The complete overview of shapes, their dimensions and their names can be seen in
104104

105105
## Implementation strategy
106106

107-
### Helper Types
108-
109-
```rust
110-
/// Stores an angle in radians, and supplies builder functions to prevent errors (from_radians, from_degrees)
111-
struct Angle(f32);
112-
```
113-
114107
### Traits (REFERENCE ONLY!)
115108

116109
**These traits are provided as reference to illustrate how these primitive shape types might be used. The details of implementation and interface should be determined in a separate RFC, PR, or independent prototypes.**
@@ -191,7 +184,7 @@ struct RegularPolygon2d {
191184
/// Number of faces.
192185
faces: u8,
193186
/// Clockwise rotation of the polygon about the origin. At zero rotation, a point will always be located at the 12 o'clock position.
194-
orientation: Angle,
187+
orientation: f32,
195188
}
196189
impl Meshable for RegularPolygon2d {}
197190

0 commit comments

Comments
 (0)