mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
confusing formatting
This commit is contained in:
parent
14cefb8241
commit
dc4d911f01
@ -336,9 +336,8 @@ intersects_line(double &t1, double &t2,
|
|||||||
// Tangent.
|
// Tangent.
|
||||||
t1 = t2 = -B /(2.0*A);
|
t1 = t2 = -B /(2.0*A);
|
||||||
return true;
|
return true;
|
||||||
} else
|
|
||||||
|
|
||||||
if (radical < 0.0) {
|
} else if (radical < 0.0) {
|
||||||
// No real roots: no intersection with the line.
|
// No real roots: no intersection with the line.
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user