1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-10 05:15:43 +00:00
Commit Graph

465 Commits

Author SHA1 Message Date
4a88358f47 Internalise LerpInternal method 2021-03-11 16:46:02 +00:00
688058a7aa (#39) Explictly implement Lerp 2021-03-11 16:45:18 +00:00
ae9306cf93 Rename param "angle" to "value" 2021-03-11 16:19:49 +00:00
3499457667 Add missing import for 8976993cee 2021-03-11 16:16:46 +00:00
8976993cee Aggressively inline LerpInternal 2021-03-11 16:15:57 +00:00
f6b885b46b (#15) Improve xmldoc for IsOdd/IsEven 2021-03-10 14:57:49 +00:00
08e89d3ab0 (#15) Improve xmldoc for Deg <-> Rad methods 2021-03-10 13:02:44 +00:00
643a254b87 Ensure CLS compliance for method signature
Use overloads instead of optional parameters
2021-03-10 12:58:43 +00:00
227e807f14 (#15) Improve xmldoc for float/double.Round 2021-03-10 12:56:25 +00:00
b8d9d880a8 Rename string.Random to string.Randomize
Implements better logic for generating a random string
2021-03-10 12:51:09 +00:00
00b751b555 LengthMustBePositiveValue -> LengthGreaterThanOrEqualTo0 2021-03-10 12:48:34 +00:00
88da1895f4 (#14) (#15) Rename param "str" to "value" 2021-03-10 12:22:20 +00:00
1b811cb18d (#38) Add Single/Double.LerpFrom/To/With 2021-03-10 12:17:23 +00:00
5b46523c51 (#15) Clarify xmldoc summary and returns 2021-03-10 11:34:54 +00:00
98aaf67d4b Honour NRT compliance 2021-03-10 11:33:36 +00:00
a1af553c93 Cache exception message to prevent long line 2021-03-10 11:32:59 +00:00
bc8081d0f9 Rename param "type" to "member" 2021-03-10 11:30:23 +00:00
4c5f02b221 (#15) Explicitly describe return value 2021-03-10 11:29:10 +00:00
a3815a1e10 (#15) Rewrite xmldoc for Base64Encode/Decode 2021-03-10 11:27:32 +00:00
f71efc424d Update Base64Encode/Decode internal call 2021-03-10 11:23:35 +00:00
61da369418 (#7) Move StringExtensions to child namespace 2021-03-10 11:21:49 +00:00
d9017bab20 Add ExceptionMessages to csproj 2021-03-10 11:17:01 +00:00
5114b9d9a8 Repack LICENSE.md 2021-03-10 11:13:07 +00:00
bc42ebbcd4 Allow unsafe blocks for project 2021-03-10 11:10:27 +00:00
9837940079 Remove redundant IsEnum check
where : Enum constraint should suffice
2021-03-10 11:09:10 +00:00
f0ee53befb (#14) Use clearer variable and param names 2021-03-10 11:08:39 +00:00
9f9a79fd1b Remove unused Util class 2021-03-10 11:05:38 +00:00
24039d835c (#15) Rewrite EnumExtensions xmldoc 2021-03-10 11:01:35 +00:00
9f9e5c7461 (#7) Move EnumExtensions to child namespace 2021-03-10 10:52:18 +00:00
60ebcedcb6 (#7) Move sysnumerics Vector3 to child namespace
Avoids collision when importing both X10D.RandomExtensions and
X10D.Unity.RandomExtensions
2021-03-10 10:51:05 +00:00
a32fe8cc4a (#35) Add Random.NextRotationUniform 2021-03-10 10:49:55 +00:00
cb7673c9a4 (#35) Add Random.NextRotation 2021-03-10 10:10:22 +00:00
72e24aa791 (#35) Add Random.NextUnitVector3 2021-03-09 18:03:32 +00:00
f05e8537bd (#35) Add Random.NextUnitVector2
Returns a point which lies on the unit circle
2021-03-09 17:36:55 +00:00
6860afd4f9 Pass parameter name as 1st arg to ArgOutOfRangeEx 2021-03-09 17:14:34 +00:00
dcf9ed938b (#19) Don't split partial leaving empty class 2021-03-09 17:09:40 +00:00
429d7990e8 (#35) Add missing using directive
Color belongs to System.Drawing namespace
2021-03-09 17:00:51 +00:00
c584b9c331 Fix CA1829 on internal array
https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1829
2021-03-09 16:59:50 +00:00
95fda962ed (#35) Add Random.NextColor 2021-03-09 16:56:42 +00:00
89ce281656 Fix xmldoc for NextDouble(double)
No minValue parameter, reference was invalid
2021-03-09 16:45:48 +00:00
8a168f0ff0 (#37) Add Random.NextInt64
Uses an internal Random instance to generate a second sample which is
OR'd with the first to produce a 64-bit integer
2021-03-09 13:18:12 +00:00
9d0c300250 Fix xmldoc and using directive
- <see cref="Random"/> points to internal instance, not type
- System.Globalization required for CultureInfo
2021-03-09 13:14:29 +00:00
013e633fce (#33) Add NextDouble overload with implied lbound
Behaves similar to Random.Next(int) where lower bound defaults to 0
2021-03-09 11:52:33 +00:00
e05873f383 Use InvariantCulture for char.ToString() 2021-03-09 11:46:29 +00:00
0d00dd62e8 (#27) Move string literal ex msg to resource file 2021-03-09 11:45:19 +00:00
7d1dbee0dc (#36) Fix incorrect bound descriptor
Protip: Don't rush your documentation, kids!
2021-03-08 18:47:47 +00:00
3230b12f12 (#36) Fix parameter clusivity 2021-03-08 18:46:55 +00:00
41d09695e0 (#7) Move Double/Single to child namespace 2021-03-07 22:13:55 +00:00
defa8cb890 (#34) Add Random.NextSingle([float, float]) 2021-03-07 18:28:09 +00:00
c4e890f2cb Explicitly validate arguments
Delegating validation to another class caused warnings due to the
compiler not being aware of the null check
2021-03-07 18:15:58 +00:00