Skip to content

Commit 4a1d007

Browse files
committed
Improve colormap handling. Impl surface points
1 parent 74ad7be commit 4a1d007

14 files changed

+4081
-195
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ fn main() -> Result<(), StrError> {
101101
let c = &[-1.0, 1.0, 1.0];
102102
let k = &[4.0, 4.0, 4.0];
103103
let mut cube = Surface::new();
104-
cube.set_solid_color("#ee29f2")
104+
cube.set_surf_color("#ee29f2")
105105
.draw_superquadric(c, r, k, -180.0, 180.0, -90.0, 90.0, 40, 20)?;
106106

107107
// sphere

0 commit comments

Comments
 (0)