mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-31 11:51:52 +02:00
Bugfix for line_of()
This commit is contained in:
@@ -242,5 +242,11 @@ module test_mask2d_ogee() {
|
||||
test_mask2d_ogee();
|
||||
|
||||
|
||||
module test_dashed_stroke() {
|
||||
segs = dashed_stroke([[0,0],[10,0]], dashpat=[3,2], closed=false);
|
||||
assert_equal(segs,[[[0,0],[3,0]], [[5,0],[8,0]]]);
|
||||
}
|
||||
test_dashed_stroke();
|
||||
|
||||
|
||||
// vim: expandtab tabstop=4 shiftwidth=4 softtabstop=4 nowrap
|
||||
|
Reference in New Issue
Block a user