.
This commit is contained in:
parent
0e44dd2a8e
commit
ce6d808b02
|
@ -138,7 +138,7 @@ function playingAT(col){
|
||||||
y=-x+b
|
y=-x+b
|
||||||
*/
|
*/
|
||||||
//find b
|
//find b
|
||||||
var b= y + x;
|
var b = 0 + y + x;
|
||||||
if (b < 6){
|
if (b < 6){
|
||||||
//first point of the diagonal has x=0;
|
//first point of the diagonal has x=0;
|
||||||
var kx = 0;
|
var kx = 0;
|
||||||
|
@ -167,7 +167,7 @@ function playingAT(col){
|
||||||
|
|
||||||
|
|
||||||
//diagonal / affin function like y=x+b
|
//diagonal / affin function like y=x+b
|
||||||
b = y - x;
|
b = 0 + y - x;
|
||||||
if( b > -1){
|
if( b > -1){
|
||||||
//first point has x=0
|
//first point has x=0
|
||||||
kx = 0;
|
kx = 0;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user