Commit Graph

14 Commits (41ba552e97a969a461b58e6f06fe451e4e176ff9)

Author SHA1 Message Date
John Benediktsson 0e3d598e69 specialized-arrays: performed some cleanup.
Specifically,
    •   Created >c-array to be replacement for >T-array.
    •   Created cast-array to be generic replacement for all T-array-cast words.
    •   Created c-array@ to be generic replacement for T-array@ words.
    •   Replaced usages of <T-array> with T <c-array>
    •   Replaced usages of <direct-T-array> with T <c-direct-array>
    •   Replaced usages of >T-array with T >c-array
    •   Replaced usages of T-array-cast with T cast-array
    •   Replaced usages of malloc-T-array with T malloc-array.
    •   Removed malloc-T-array.
    •   Removed T-array-cast.
    •   Removed T-array@.
    •   Removed >T-array.

I also added (but didn't change any code to use):
    •   T c-array-type, returns T-array
    •   T c-array?, returns T-array?
    •   c-array{ T ... }, returns T-array{ ... }

Bootstraps just find on Mac OS X.  Also `load-all test-all` works for me.
2011-09-26 11:37:51 -07:00
Slava Pestov 40f58f27d6 specialized-arrays: rename byte-array>T-array to T-array-cast, and make it work with anything that responds to >c-ptr / byte-length 2010-05-18 23:09:34 -04:00
Slava Pestov 6347d75eb7 noise: update for iota 2010-01-15 07:15:33 +13:00
Joe Groff 6757c85189 remove SIMDS: 2009-11-26 11:15:46 -08:00
Joe Groff cee5862b69 update a bunch of alien-callbacks and alien-indirects to use c-type words 2009-10-21 21:10:11 -05:00
Joe Groff 75417e099c use unsigned<->signed unpacking for normal-noise because SSE doesn't have an unsigned->unsigned pack instruction 2009-10-16 22:03:55 -05:00
Joe Groff f6ea50de61 use a better algorithm to generate uniform/normal noise 2009-10-16 14:35:57 -05:00
Joe Groff 27da7bd4e0 improve noise/terrain performance 2009-10-15 22:37:31 -05:00
Slava Pestov b027442343 noise: don't use math.private words 2009-09-01 15:50:56 -05:00
Joe Groff ba1fdc2683 separate component format from component order in image objects 2009-06-22 11:20:54 -05:00
Doug Coleman f788885dc9 remove use of image boa from noise 2009-06-10 16:05:17 -04:00
Joe Groff 1216ea2fd8 cut perlin-noise time in half 2009-05-10 10:41:50 -05:00
Joe Groff b1f42da336 un-private some useful words 2009-05-07 19:46:42 -05:00
Joe Groff f1b5c9bc68 rename perlin-noise to noise; add words for uniform and normal noise 2009-05-06 15:49:29 -05:00