Skript icon indicating copy to clipboard operation
Skript copied to clipboard

Add tests for vector syntaxes

Open sovdeeth opened this issue 1 year ago • 2 comments

Description

Adds tests for all vector-related syntaxes. Fixes up some docs/pattern issues with assorted vector syntaxes as well.


Target Minecraft Versions: any Requirements: none Related Issues: #6158

sovdeeth avatar Nov 01 '23 00:11 sovdeeth

Looking good so far, I'm ticking off all the ones you make so that nobody else makes the same.

Moderocky avatar Nov 01 '23 09:11 Moderocky

As far as I can see, the remaining ones are:

  • [x] ExprLocationFromVector
  • [x] ExprVectorFromYawAndPitch
  • [x] ExprLocationVectorOffset
  • [x] ExprVectorNormalize
  • [x] ExprVectorSquaredLength
  • [x] ExprVectorOfLocation
  • [x] ExprVectorSpherical
  • [x] ExprVectorXYZ
  • [x] ExprVectorLength

then

  • [x] CondIsVectorNormalized

and

  • [x] EffVectorRotateAroundAnother
  • [x] EffVectorRotateXYZ

Moderocky avatar Nov 01 '23 10:11 Moderocky