The Trunk: Graphics-ct.421.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Graphics-ct.421.mcz

commits-2
Marcel Taeumel uploaded a new version of Graphics to project The Trunk:
http://source.squeak.org/trunk/Graphics-ct.421.mcz

==================== Summary ====================

Name: Graphics-ct.421
Author: ct
Time: 20 September 2019, 8:02:53.666726 pm
UUID: 2f6f7585-e896-1741-95e7-5b86b5db6062
Ancestors: Graphics-ct.420

Use a better Random generator for default

Thanks Marcel! :)

=============== Diff against Graphics-ct.419 ===============

Item was added:
+ ----- Method: Rectangle>>randomPoint (in category 'random') -----
+ randomPoint
+
+ ^ self randomPoint: ThreadSafeRandom value!

Item was added:
+ ----- Method: Rectangle>>randomPoint: (in category 'random') -----
+ randomPoint: aGenerator
+
+ ^ self pointAtFraction: aGenerator next @ aGenerator next!