User:Inthar/Code: Difference between revisions

Inthar (talk | contribs)
Inthar (talk | contribs)
Line 6: Line 6:
# Run <code>cargo run --release</code>.
# Run <code>cargo run --release</code>.
=== planegeometry.rs ===
=== planegeometry.rs ===
<syntaxhighlight lang="rs">// plane_geometry.rs
<syntaxhighlight lang="rs">/
// v0.0.0 by inthar
// Geometry of points and lines in the plane, implemented with rational numbers. The implementation is janky, though.
// Geometry of points and lines in the plane, implemented with rational numbers. The implementation is janky, though.
// Can be used to enumerate ternary billiard scales.
// Can be used to enumerate ternary billiard scales.
Line 644: Line 643:
}
}
</syntaxhighlight>
</syntaxhighlight>
=== lib.rs ===
=== lib.rs ===
<syntaxhighlight lang="rs">
<syntaxhighlight lang="rs">