write masks, colours and hash constants in hex
sexc reads hex literals now (sex#47). The OpenSimplex constants are spelled as the C# spells them, and the colours as the comments that stood in for them did. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -240,9 +240,7 @@
|
||||
(for (var i int 0) (< i (. in cap)) (++ i)
|
||||
(if (== [(. in state) i] 1)
|
||||
(.put set (+ x0 (cast (>> [(. in keys) i] 32) i32))
|
||||
;; TODO sex#47: write the mask in hex once there are hex
|
||||
;; literals.
|
||||
(+ z0 (cast (& [(. in keys) i] 4294967295) i32)) 1))))
|
||||
(+ z0 (cast (& [(. in keys) i] 0xFFFFFFFF) i32)) 1))))
|
||||
|
||||
(pub fn release ((self (* natural-shape))) void
|
||||
(free (. self slots))
|
||||
|
||||
Reference in New Issue
Block a user