mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-02 08:08:20 +00:00
Calculate llFrand's min and max when possible
This commit is contained in:
parent
65326115d8
commit
bf505220ac
8 changed files with 79 additions and 0 deletions
20
unit_tests/regression.suite/llfrand.lsl
Normal file
20
unit_tests/regression.suite/llfrand.lsl
Normal file
|
@ -0,0 +1,20 @@
|
|||
default { timer() {
|
||||
llParticleSystem(
|
||||
[ llFrand(-5)
|
||||
, llFrand(-5) > -5
|
||||
, llFrand(-5) <= 0
|
||||
, llFrand(-5) > 0
|
||||
, llFrand(-5.)
|
||||
, llFrand(-16777216)
|
||||
, llFrand(-16777216.)
|
||||
, llFrand(5)
|
||||
, llFrand(5) < 5
|
||||
, llFrand(5) >= 0
|
||||
, llFrand(5) < 0
|
||||
, llFrand(5.)
|
||||
, llFrand(16777216)
|
||||
, llFrand(16777216.)
|
||||
, llFrand(33554433)
|
||||
, llFrand(33554433.)
|
||||
]);
|
||||
}}
|
Loading…
Add table
Add a link
Reference in a new issue