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:
@@ -24,13 +24,11 @@
|
||||
|
||||
;;; NewSimplexNoiseLayer --------------------------------------------
|
||||
|
||||
;; TODO sex#47: write these in hex, as the C# does, once there are hex
|
||||
;; literals.
|
||||
(define PRIME-X 5910200641878280303)
|
||||
(define PRIME-Y 6452764530575939509)
|
||||
(define PRIME-Z 6614699811220273867)
|
||||
(define HASH-MULTIPLIER 6026932503003350773)
|
||||
(define SEED-FLIP -5968755714895566377)
|
||||
(define PRIME-X 0x5205402B9270C86F)
|
||||
(define PRIME-Y 0x598CD327003817B5)
|
||||
(define PRIME-Z 0x5BCC226E9FA0BACB)
|
||||
(define HASH-MULTIPLIER 0x53A3F72DEEC546F5)
|
||||
(define SEED-FLIP -0x52D547B2E96ED629)
|
||||
(define NORMALIZER-3D 0.2781926117527186)
|
||||
(define MAX-Y-SLOPE 5.0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user