Remove nalgebra dependency
- Implement our own `Point` and `Vector` types - Make `Rectangle` not generic
This commit is contained in:
parent
343cafa1ee
commit
eecac7b5d1
18 changed files with 69 additions and 31 deletions
|
|
@ -87,7 +87,7 @@
|
|||
//! # fn draw(
|
||||
//! # &mut self,
|
||||
//! # _cursor_position: Point,
|
||||
//! # _bounds: Rectangle<f32>,
|
||||
//! # _bounds: Rectangle,
|
||||
//! # _state: &button::State,
|
||||
//! # _label: &str,
|
||||
//! # _class: button::Class,
|
||||
|
|
@ -103,7 +103,7 @@
|
|||
//! #
|
||||
//! # fn draw(
|
||||
//! # &mut self,
|
||||
//! # _bounds: Rectangle<f32>,
|
||||
//! # _bounds: Rectangle,
|
||||
//! # _content: &str,
|
||||
//! # _size: f32,
|
||||
//! # _color: Option<[f32; 4]>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue