mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-05 05:36:17 +00:00
29 lines
588 B
Plaintext
29 lines
588 B
Plaintext
|
## {4,6}, tromino 1S, solution 1
|
||
|
h2.
|
||
|
|
||
|
# we compute the edge length
|
||
|
distunit(arcmedge(6,6,7))
|
||
|
|
||
|
# note: subsequent results of arcmedge are given in terms of distunit
|
||
|
|
||
|
# regangle(A,B) returns the internal angle of a B-gon with sidelength A
|
||
|
# A is given in distunits, and result takes angleunit and angleofs into account
|
||
|
|
||
|
let(u6 = regangle(1, 6))
|
||
|
let(u7 = regangle(1, 7))
|
||
|
|
||
|
unittile(u6,u6,u6,u6,u6,u6)
|
||
|
unittile(u7,u7,u7,u7,u7,u7,u7)
|
||
|
|
||
|
c(0,0,0,0,0)
|
||
|
c(0,2,0,2,0)
|
||
|
c(0,4,0,4,0)
|
||
|
c(0,1,1,0,0)
|
||
|
c(0,3,1,1,0)
|
||
|
c(0,5,1,2,0)
|
||
|
c(0,1,1,3,0)
|
||
|
c(0,3,1,4,0)
|
||
|
c(0,5,1,5,0)
|
||
|
c(0,1,1,6,0)
|
||
|
|