Jump to content

vector-to-velocity default

Recommended Posts



it says in the doc of vector-to-velocity that the default is float values, but when I evaluate

(setf vel (vector-to-velocity 0.1 0.9 (gen-integer 1 16)))
=>(pppp pppp ppp pp pp p mp mp mf mf f ff ff fff ffff ffff)

I get symbols, when I use

(setf vel (vector-to-velocity 0.1 0.9 (gen-integer 1 16):type :float))
=>(0.1 0.15 0.21 0.26 0.31 0.37 0.42 0.47 0.53 0.58 0.63 0.69 0.74 0.79 0.85 0.9)

everything is fine, just want to mention it.







Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

Terms of Use Privacy Policy