Skip to content

Commit

Permalink
Fix icon slide generation script
Browse files Browse the repository at this point in the history
  • Loading branch information
ustc-zzzz committed Aug 16, 2024
1 parent 5fd6fc3 commit 63ae195
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/teacon/slides/slide/IconSlide.java
Original file line number Diff line number Diff line change
Expand Up @@ -140,15 +140,15 @@ private void renderBackground(MultiBufferSource source, PoseStack.Pose pose,
* for j in range(3):
* a, b, c, d = xs[i], xs[i + 1], ys[j], ys[j + 1]
* for k, l in [(a, d), (b, d), (b, c), (a, c)]:
* print(fmt.format(k[0], '1F / 256F', l[0], k[1], l[1], 1))
* print(fmt.format(k[0], '6144F', l[0], k[1], l[1], 1))
* print('}')
*
* print('if (back) {')
* for i in range(3):
* for j in range(3):
* a, b, c, d = xs[i], xs[i + 1], ys[j], ys[j + 1]
* for k, l in [(a, c), (b, c), (b, d), (a, d)]:
* print(fmt.format(k[0], '-1F / 256F', l[0], k[1], l[1], -1))
* print(fmt.format(k[0], '-6144F', l[0], k[1], l[1], -1))
* print('}')
*/
if (front) {
Expand Down

0 comments on commit 63ae195

Please sign in to comment.