Skip to content

arc infinite recursion #5

@qazmonk

Description

@qazmonk

Hello,

I have found that running this test program with SBCL 1.2.1 produces infinite calls to VECTO::APPROXIMATE-ARC. Do you have any idea what is going wrong here?

(defpackage :arc-test
  (:use :cl :vecto))
(in-package :arc-test)

(defun test ()
  (with-canvas (:width 600 :height 600)
    (arc 255.98781 199.0003 30 -2.1191545 2.1779017)
    (save-png (open "arc-test.png" :if-does-not-exist :create))))

EDIT: I did some testing and it seems as though it fails if angle1 is less than -PI/2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions