Author Topic: TSPACEINVADERS approach  (Read 1689 times)

0 Members and 1 Guest are viewing this topic.

Jeff H

  • Needs a day job
  • Posts: 6150
TSPACEINVADERS approach
« on: July 11, 2014, 04:10:03 PM »
I need something similar to TSPACEINVADERS command and was wondering how they approached finding overlapping objects.

I looked at tscale.lsp but not familiar enough with Lisp to see general idea.

Not looking for any code just general idea of its approach.


CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: TSPACEINVADERS approach
« Reply #1 on: July 11, 2014, 04:33:56 PM »
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

Jeff H

  • Needs a day job
  • Posts: 6150
Re: TSPACEINVADERS approach
« Reply #2 on: July 11, 2014, 05:21:28 PM »
Not until you pointed it out.

Does it run a nested loop using IntersectsWith?


Just not fluent with Lisp and not sure why all the transformations are being done.

Lee Mac

  • Seagull
  • Posts: 12914
  • London, England
Re: TSPACEINVADERS approach
« Reply #3 on: July 12, 2014, 10:29:45 AM »