修复四连块之外的ASC旋转中心不正确 close #910
This commit is contained in:
@@ -830,8 +830,19 @@ do
|
||||
local R=_flipList(L)
|
||||
local F={'+0+0'}
|
||||
local centerPos=TABLE.copy(defaultCenterPos)
|
||||
centerPos[6]={[0]={0,0},{1,0},{1,1},{0,1}}
|
||||
centerPos[7]={[0]={0,1},{2,0},{0,2},{1,0}}
|
||||
centerPos[6]={[0]={0,0},{1,0},{1,1},{0,1}}-- O
|
||||
centerPos[7]={[0]={0,1},{2,0},{0,2},{1,0}}-- I
|
||||
centerPos[14]={[0]={0,1},{1,0},{2,1},{1,2}}-- T5
|
||||
centerPos[16]={[0]={1,1},{1,1},{1,1},{1,1}}-- V
|
||||
centerPos[19]={[0]={0,1},{2,0},{1,2},{1,1}}-- J5
|
||||
centerPos[20]={[0]={0,2},{1,0},{1,1},{2,1}}-- L5
|
||||
centerPos[21]={[0]={0,2},{1,0},{1,1},{2,1}}-- R
|
||||
centerPos[22]={[0]={0,1},{2,0},{1,2},{1,1}}-- Y
|
||||
centerPos[23]={[0]={0,1},{2,0},{1,2},{1,1}}-- N
|
||||
centerPos[24]={[0]={0,2},{1,0},{1,1},{2,1}}-- H
|
||||
centerPos[27]={[0]={0,1},{0,0},{1,0},{1,1}}-- C
|
||||
centerPos[28]={[0]={0,1},{0,0},{0,0},{1,0}}-- I2
|
||||
|
||||
ASC={
|
||||
centerTex=GC.DO{10,10,
|
||||
{'setLW',2},
|
||||
@@ -857,7 +868,7 @@ do
|
||||
local L={'+0+0','+1+0','+0-1','+1-1','+0-2','+1-2','+2+0','+2-1','+2-2','-1+0','-1-1','+0+1','+1+1','+2+1','-1-2','-2+0','+0+2','+1+2','+2+2','-2-1','-2-2'}
|
||||
local R=_flipList(L)
|
||||
local F={'+0+0','-1+0','+1+0','+0-1','-1-1','+1-1','+0-2','-1-2','+1-2','-2+0','+2+0','-2-1','+2-1','-2+1','+2+1','+0+2','-1+2','+1+2'}
|
||||
local centerPos=TABLE.copy(defaultCenterPos)
|
||||
local centerPos=TABLE.copy(ASC.centerPos)
|
||||
centerPos[6]={[0]={0,0},{1,0},{1,1},{0,1}}
|
||||
centerPos[7]={[0]={0,1},{2,0},{0,2},{1,0}}
|
||||
ASC_plus={
|
||||
|
||||
Reference in New Issue
Block a user