Commit Graph

20 Commits

Author SHA1 Message Date
Wojtek Figat
4aabb81c1f Use constructors for random generation methods 2021-02-18 22:43:46 +01:00
Wojtek Figat
64d7684551 Merge branch 'RandomFuncs' of git://github.com/W2Wizard/FlaxEngine into W2Wizard-RandomFuncs 2021-02-18 22:39:33 +01:00
W2.Wizard
654285e57f Separated NextVector and NextUnitVector, refactoring
While I was at it I made some slight refactoring making it much more readable and establish consistency
2021-02-17 00:30:24 +01:00
W2.Wizard
042694f45e Added random enum 2021-02-09 17:11:44 +01:00
Wojtek Figat
c02faf51a0 Merge branch 'AboutFlaxAdjustment' of git://github.com/W2Wizard/FlaxEngine into W2Wizard-AboutFlaxAdjustment 2021-01-18 21:07:49 +01:00
W2.Wizard
8fd0af3f39 Fixed Typos and padding 2021-01-17 10:18:30 +01:00
W2.Wizard
00c40e279c Update Extensions.cs 2021-01-14 13:56:10 +01:00
W2.Wizard
8e44e6b23c Applied additional review changes
Moved out the random Color created via HSV to its own function as @stefnotch suggested.

Added + 1 to the max value in NextByte to include max as a possible value.
2021-01-14 12:28:51 +01:00
W2.Wizard
437018e614 Applied review changes
Applied almost all review changes.
2021-01-14 11:50:03 +01:00
W2.Wizard
75c3388c00 Corrected comments 2021-01-14 01:12:13 +01:00
W2.Wizard
31dd5b852e Update Extensions.cs 2021-01-13 22:04:16 +01:00
W2.Wizard
6649f0d4c2 Removed unnecessary overload
Same can be achieved by  specifiying max.
2021-01-13 21:58:16 +01:00
W2.Wizard
604c583c36 Moved all methods to Extension.cs
Moved the methods for RandomUtils.cs to Extension.cs instead.
2021-01-13 21:16:17 +01:00
W2.Wizard
4d8cc9aef7 Fixed additional typos
Went through the source with VNNCC to correct as many found typos as possible

Co-Authored-By: VNC <52937757+VNNCC@users.noreply.github.com>
2021-01-05 02:14:21 +01:00
Jean-Baptiste Perrier
03eb39afe6 Bumping all copyright headers to 2021. 2021-01-02 14:28:49 +01:00
Wojtek Figat
9b891d0c55 Add support for hexadecimal values in editor value fields 2020-12-31 15:35:31 +01:00
Wojtek Figat
05790ab9a1 Fix code style 2020-12-30 22:56:17 +01:00
Wojtek Figat
4c205be617 Fix code style 2020-12-30 11:20:37 +01:00
Wojtek Figat
2acad9963f Fix #41 2020-12-23 10:14:51 +01:00
Wojtek Figat
6fb9eee74c You're breathtaking! 2020-12-07 23:40:54 +01:00