Skip to content

Commit

Permalink
Merge pull request #288 from DomCR/road-to-release
Browse files Browse the repository at this point in the history
Road to Version 1.0.0
  • Loading branch information
DomCR authored Sep 3, 2024
2 parents c3d924b + 5d0c347 commit b32e7a9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 3 additions & 2 deletions src/ACadSharp/ACadSharp.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0;net7.0;net5.0;net48;netstandard2.1</TargetFrameworks>
<TargetFrameworks>net5.0;net6.0;net7.0;net48;netstandard2.1</TargetFrameworks>
<Authors>DomCr</Authors>
<PackageId>ACadSharp</PackageId>
<PackageTags>C# Dwg Dxf</PackageTags>
Expand All @@ -17,7 +17,8 @@
<PropertyGroup>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageReadmeFile>README.md</PackageReadmeFile>
<Version>2.4.0-beta</Version>
<Version>1.0.0</Version>
<PackageOutputPath>../nupkg</PackageOutputPath>
</PropertyGroup>

<Import Project="..\CSUtilities\CSMath\CSMath.projitems" Label="Shared" />
Expand Down
5 changes: 2 additions & 3 deletions src/ACadSharp/Entities/Circle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,8 @@ public Circle() : base() { }
/// <inheritdoc/>
public override BoundingBox GetBoundingBox()
{
XYZ min = new XYZ(Math.Min(this.Center.X - this.Radius, this.Center.X + this.Radius), Math.Min(this.Center.Y - this.Radius, this.Center.Y + this.Radius), Math.Min(this.Center.Z - this.Radius, this.Center.Z + this.Radius));
XYZ max = new XYZ(Math.Max(this.Center.X - this.Radius, this.Center.X + this.Radius), Math.Max(this.Center.Y - this.Radius, this.Center.Y + this.Radius), Math.Max(this.Center.Z - this.Radius, this.Center.Z + this.Radius));

XYZ min = new XYZ(Math.Min(this.Center.X - this.Radius, this.Center.X + this.Radius), Math.Min(this.Center.Y - this.Radius, this.Center.Y + this.Radius), Math.Min(this.Center.Z, this.Center.Z));
XYZ max = new XYZ(Math.Max(this.Center.X - this.Radius, this.Center.X + this.Radius), Math.Max(this.Center.Y - this.Radius, this.Center.Y + this.Radius), Math.Max(this.Center.Z, this.Center.Z));
return new BoundingBox(min, max);
}
}
Expand Down

0 comments on commit b32e7a9

Please sign in to comment.