Created
January 18, 2023 02:15
-
-
Save keijiro/2ff7b058df5f8cd2dd05a837021aead7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
pcount = int(sys.stdin.readline().rstrip()) | |
for i in range(0, pcount): | |
sys.stdin.readline() | |
for j in range(0, 16): | |
coord = sys.stdin.readline().rstrip().split() | |
coord = list(map(lambda x: float(x) * 0.2, coord)) | |
coord[2] = max(0, coord[2] - 0.075 * 0.2) | |
print(" math.float3({0:6.3f}f, {2:6.3f}f, {1:6.3f}f),".format(*coord)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment