forked from 1b-agent/opencadstudio-upstream
Keep wipeout frames continuous
This commit is contained in:
1 parent
21a232ef8d
commit
61e5271055
6 files changed
+19
-10
No files matched your search
Vendored
+2
@@ -2485,6 +2485,8 @@ fn emit_wire(
|
||||
let sx = ((ax.x - o.x).powi(2) + (ax.y - o.y).powi(2) + (ax.z - o.z).powi(2)).sqrt();
|
||||
let sy = ((ay.x - o.x).powi(2) + (ay.y - o.y).powi(2) + (ay.z - o.z).powi(2)).sqrt();
|
||||
lw.world_width * ((sx + sy) * 0.5) as f32
|
||||
} else if lw.world_width < 0.0 {
|
||||
lw.world_width
|
||||
} else {
|
||||
0.0
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user