Highlight selected points
In the process, make points round, since the highlighting works better visually that way.
This commit is contained in:
parent
0fbb071506
commit
bbd4ee08b6
5 changed files with 45 additions and 10 deletions
|
@ -138,7 +138,7 @@ fn load_pointed_assemb(assembly: &Assembly) {
|
|||
Point::new(
|
||||
format!("point_front"),
|
||||
format!("Front point"),
|
||||
[0.875_f32, 0.875_f32, 0.875_f32],
|
||||
[0.75_f32, 0.75_f32, 0.75_f32],
|
||||
engine::point(0.0, 0.0, FRAC_1_SQRT_2)
|
||||
)
|
||||
);
|
||||
|
@ -146,7 +146,7 @@ fn load_pointed_assemb(assembly: &Assembly) {
|
|||
Point::new(
|
||||
format!("point_back"),
|
||||
format!("Back point"),
|
||||
[0.875_f32, 0.875_f32, 0.875_f32],
|
||||
[0.75_f32, 0.75_f32, 0.75_f32],
|
||||
engine::point(0.0, 0.0, -FRAC_1_SQRT_2)
|
||||
)
|
||||
);
|
||||
|
@ -168,7 +168,7 @@ fn load_pointed_assemb(assembly: &Assembly) {
|
|||
Point::new(
|
||||
format!("point{index_x}{index_y}"),
|
||||
format!("Point {index_x}{index_y}"),
|
||||
[0.4*(2.0 + x) as f32, 0.4*(2.0 + y) as f32, 0.4*(2.0 - x*y) as f32],
|
||||
[0.5*(1.0 + x) as f32, 0.5*(1.0 + y) as f32, 0.5*(1.0 - x*y) as f32],
|
||||
engine::point(x, y, 0.0)
|
||||
)
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue