Skip to content

Commit

Permalink
fix: ": were reversed causing failing string lookup
Browse files Browse the repository at this point in the history
- also clarified offset function descriptions
  • Loading branch information
Covkie committed Dec 12, 2023
1 parent 2266904 commit 90905e1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions common/src/main/resources/assets/figura/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -1149,20 +1149,20 @@
"figura.docs.model_part.get_true_pos": "Gets the true position of this model part, which is a sum of the position and the animation position",
"figura.docs.model_part.get_rot": "Gets the rotation of the model part, including its rotation in Blockbench\nFor relative rotation values, check out the \"offset\" rot functions",
"figura.docs.model_part.set_rot": "Sets the absolute rotation for this part\nNil values for rotation are assumed to be 0\nAngles are given in degrees\nFor relative rotation values, check out the \"offset\" rot functions",
"figura.docs.model_part.get_offset_rot": "Gets the offset rotation of the model part, offset from its rotation in Blockbench\nFor absolute rotation values, check out the non-offset rot functions",
"figura.docs.model_part.set_offset_rot": "Sets the offset rotation for this part\nNil values for rotation are assumed to be 0\nAngles are given in degrees\nFor absolute rotation values, check out the non-offset rot functions",
"figura.docs.model_part.get_offset_rot": "Gets the rotation offset of the model part, offset from its rotation in Blockbench\nFor absolute rotation values, check out the non-offset rot functions",
"figura.docs.model_part.set_offset_rot": "Sets the rotation offset for this part\nNil values for rotation are assumed to be 0\nAngles are given in degrees\nFor absolute rotation values, check out the non-offset rot functions",
"figura.docs.model_part.get_anim_rot": "Gets the rotation offset provided by the currently active animation of this model part",
"figura.docs.model_part.get_true_rot": "Gets the true rotation of this model part, which is a sum of the rotation, the offset rotation and the animation position",
"figura.docs.model_part.get_scale": "Gets the scale of the model part, as a multiple of its Blockbench size\nOnly changes from {1,1,1} when you call setScale()",
"figura.docs.model_part.set_scale": "Sets the scale factor for this part\nNil values for scale are assumed to be 1",
"figura.docs.model_part.get_offset_scale:": "Gets the offset scale of the model part, offset from its default scale\nFor absolute scale values, check out the non-offset rot functions",
"figura.docs.model_part.set_offset_scale:": "Sets the offset scale for this part\nNil values are assumed to be 1\nFor absolute scale values, check out the non-offset rot functions",
"figura.docs.model_part.get_offset_scale": "Gets the scale offset of the model part, offset from its default scale\nFor absolute scale values, check out the non-offset rot functions",
"figura.docs.model_part.set_offset_scale": "Sets the scale offset for this part\nNil values are assumed to be 1\nFor absolute scale values, check out the non-offset rot functions",
"figura.docs.model_part.get_anim_scale": "Gets the scale multiplier provided by the currently active animation of this model part",
"figura.docs.model_part.get_true_scale": "Gets the true scale of this model part, which is a sum of the scale, the offset scale and the animation scale",
"figura.docs.model_part.get_pivot": "Gets the pivot point of the model part, including its pivot in Blockbench\nFor relative values, check out the \"offset\" pivot functions",
"figura.docs.model_part.set_pivot": "Sets the absolute pivot for this part\nNil values are assumed to be 0\nFor relative pivot offsets, check out the \"offset\" pivot functions",
"figura.docs.model_part.get_offset_pivot": "Gets the offset pivot of the model part, offset from its pivot in Blockbench\nFor absolute pivot point values, check out the non-offset pivot functions",
"figura.docs.model_part.set_offset_pivot": "Sets the offset pivot point for this part\nNil values are assumed to be 0\nFor absolute pivot point values, check out the non-offset pivot functions",
"figura.docs.model_part.get_offset_pivot": "Gets the pivot offset of the model part, offset from its pivot in Blockbench\nFor absolute pivot point values, check out the non-offset pivot functions",
"figura.docs.model_part.set_offset_pivot": "Sets the pivot offset point for this part (multiplicative)\nNil values are assumed to be 0\nFor absolute pivot point values, check out the non-offset pivot functions",
"figura.docs.model_part.get_true_pivot": "Gets the true pivot of this model part, which is a sum of the pivot and the offset pivot",
"figura.docs.model_part.get_position_matrix": "Recalculates the matrix for this model part, based on its current position, rotation, scale, and pivot, then returns this matrix",
"figura.docs.model_part.get_position_matrix_raw": "Returns the position matrix for this model part\nThe Raw version of the function is different in that it doesn't recalculate the matrix before getting it",
Expand Down

0 comments on commit 90905e1

Please sign in to comment.