Commit 3a038543 authored by ronan's avatar ronan
Browse files

Add minX ... sRectangle

parent 6492de13
Pipeline #2250 passed with stage
in 59 seconds
#!/bin/bash ../bpush.sh "$*"
if [ $# -ge 1 ]
then
./build.sh
./push.sh $*
fi
#!/bin/bash ../build.sh "$*"
mvn clean install
name=$(basename target/*javadoc.jar)
group=${name%%-*}
idname=${name#*-}
idname=$group-${idname%%-*}
version=${name#*-}
version=${version#*-}
version=${version%-*}
echo "Jar in $group/$idname/$version"
if [ ! -d "$group" ]
then
mkdir $group
fi
if [ ! -d "$group/$idname" ]
then
mkdir "$group/$idname"
fi
if [ ! -d "$group/$idname/$version" ]
then
mkdir "$group/$idname/$version"
fi
folder="$group/$idname/$version"
cp target/*.jar "$folder"
cp pom.xml $folder/$idname-$version.pom
#!/bin/bash ../push.sh "$*"
if [ $# -ge 1 ]
then
git add --all
git commit -m "$*"
git push origin master
fi
...@@ -215,4 +215,42 @@ public class sRectangle extends Form ...@@ -215,4 +215,42 @@ public class sRectangle extends Form
setLeftX(x); setLeftX(x);
setLeftY(y); setLeftY(y);
} }
@Override
public void rotateRadians(float a)
{
// Do nothing
}
@Override
public void rotateRadians(float a, Vector2D center)
{
// Do nothing
}
@Override
public float getMinX()
{
return getX(0);
}
@Override
public float getMaxX()
{
return getX(2);
}
@Override
public float getMinY()
{
return getY(0);
}
@Override
public float getMaxY()
{
return getY(2);
}
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment