this was what DangerousCreate did, and was removed as soon as humanly possible
this was what DangerousCreate did, and was removed as soon as humanly possible
Sin on a byte).Quoted by perksey#0000
Vector2<T> supporting only floating-point vs supporting integers in general is something I've struggled with finding the right balance for/aroundSin(x) for an integer to work much as x / y doesSin(x) for floating-point, as you can say that Pi can be loosely representedVector2<T> should only be where T : IFloatingPoint<T> (or IFloatingPointIeee754<T>)Point2<T>distance between two points where-as that can be made to makes sensevector and point are "the same thing"Length or Normalization.Length or need an extension called .Length()Length was not universally availableVector2<int> almost means that what you have isn't a vector(1, 3) and a vector (1, 3). You have conceptually the "same thing", but also not(0, 0)DateTime (point) and TimeSpan (vector) in that regardSinVector2<T>Vector2<T>Sin(x)Sin(x)x / yPiwhere T : IFloatingPoint<T>IFloatingPointIeee754<T>Point2<T>distance between two pointsvectorpointLengthLengthNormalization.Length.Length()Vector2<int>(1, 3)(1, 3)(0, 0)TimeSpan