Skip to content

Rotate, Scale, ScaleRotate, CenterTransform

Compare
Choose a tag to compare
@BlizzCrafter BlizzCrafter released this 05 Mar 18:56
· 129 commits to master since this release
  • Renamed ShowBezierSpline to ShowSpline.
  • Added ShowCenterTransform to make it possible to hide or show the transform in the center of the spline.
  • Only calculating the CenterTransform when necessary.
  • It's now possible to programmatically create a spline by using the new constructor.
  • Added CenterTransformMode "None". On this mode the whole spline can be moved by dragging the CenterSpline with the left mouse button.
  • Fixed that points which could be placed exactly at the start point (index 0) could resulting in wrong calculations.
  • After importing a spline the newly imported spline will be placed on the center of the screen.
  • Added NuGetRelease configuration so that if building in Release configuration, it wouldn't result in compilation errors on the users end, because of the post build commands.
  • It's now possible to change the CenterTransformMode (Rotate, Scale, ScaleRotate) in the Sample- and Editor project.
  • Fixed IndexOutOfRangeException when the CurrentTriggerIndex was -1 in the SplineWalker class.
  • Added additional NullReference checks for the splineControl and the splineControl.MySplineWalker.
  • It's now possible to scale the whole spline by dragging the CenterSpline transform with the left mouse button.
  • It's now possible to rotate and scale-rotate the whole spline.
  • Added public bool IsCenterSpline to check if a Transform is the center of the spline or not.
  • Renamed GetSplineCenter to CenterSpline.
  • Added checks to determine if a Transform is a point on a spline or the CenterTransform.
  • Removed LineControl sample and CurveControl sample from the project.
  • Extended GameSample to demonstrate new features.