Skip to content

Commit d4e157e

Browse files
committed
Fixing quaternion.tostring
1 parent 2e50c7d commit d4e157e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
# Changelog - 0.3.3
2-
- Fixing silly negated equality issue in `quaternion`
1+
# Changelog - 0.3.4
2+
- Fixing error in `quaternion.tostring`

datapack/data/computercraft/lua/rom/apis/quaternion.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ local quaternion = {
336336
else
337337
str = str .. " - "
338338
end
339-
return str .. tostring(math.abs(self.v.y)) .. "k"
339+
return str .. tostring(math.abs(self.v.z)) .. "k"
340340
end,
341341

342342
--- Determines if the given quaternions are equal.

0 commit comments

Comments
 (0)