plumb one power of m through to the finish line
This commit is contained in:
parent
4e111df791
commit
b4406522f5
@ -369,9 +369,9 @@ impl LadderSettings{
|
|||||||
let mut dd=d*d;
|
let mut dd=d*d;
|
||||||
if (self.dot*self.dot*nnmm).fix_4()<dd{
|
if (self.dot*self.dot*nnmm).fix_4()<dd{
|
||||||
if d.is_negative(){
|
if d.is_negative(){
|
||||||
control_dir=Planar64Vec3::new([Planar64::ZERO,mm.sqrt().fix_1(),Planar64::ZERO]);
|
control_dir=Planar64Vec3::new([Planar64::ZERO,mm.fix_1(),Planar64::ZERO]);
|
||||||
}else{
|
}else{
|
||||||
control_dir=Planar64Vec3::new([Planar64::ZERO,-mm.sqrt().fix_1(),Planar64::ZERO]);
|
control_dir=Planar64Vec3::new([Planar64::ZERO,-mm.fix_1(),Planar64::ZERO]);
|
||||||
}
|
}
|
||||||
dd=(normal.y*normal.y).fix_4();
|
dd=(normal.y*normal.y).fix_4();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user