|
-
Mar 6th, 2001, 06:05 PM
#6
transcendental analytic
Some programming etics: store return values instead of calling same function with same parameters.
I have no idea why you would need to calculate the angleoffset, it's suppose to be constant, you could use a fixed arrowheadline length also, but you have the same length as the arrow base itself, is this nessesary?
i spotted the error though, x and y are not absolute but relative to the arrowhead, add the arrowhead coordinate to get the absolute coordinate
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|