Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
seto77 committed Aug 7, 2024
1 parent 1dd739b commit 0e85b8b
Show file tree
Hide file tree
Showing 9 changed files with 1,010 additions and 1,065 deletions.
13 changes: 10 additions & 3 deletions Crystallography.Controls/ColorControl.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Crystallography.Controls/Crystallography.Controls.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<OutputType>Library</OutputType>
<TargetFramework>net8.0-windows10.0.22621.0</TargetFramework>
<UseWindowsForms>true</UseWindowsForms>
<AssemblyVersion>2024.8.5.1006</AssemblyVersion>
<FileVersion>2024.8.5.1006</FileVersion>
<AssemblyVersion>2024.8.7.0454</AssemblyVersion>
<FileVersion>2024.8.7.0454</FileVersion>
<ApplicationHighDpiMode>PerMonitorV2</ApplicationHighDpiMode>
<ApplicationUseCompatibleTextRendering>true</ApplicationUseCompatibleTextRendering>
<ApplicationVisualStyles>true</ApplicationVisualStyles>
Expand Down
4 changes: 2 additions & 2 deletions Crystallography.OpenGL/Crystallography.OpenGL.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<OutputType>Library</OutputType>
<TargetFramework>net8.0-windows10.0.22621.0</TargetFramework>
<UseWindowsForms>true</UseWindowsForms>
<AssemblyVersion>2024.8.5.1006</AssemblyVersion>
<FileVersion>2024.8.5.1006</FileVersion>
<AssemblyVersion>2024.8.7.0454</AssemblyVersion>
<FileVersion>2024.8.7.0454</FileVersion>
<SupportedOSPlatformVersion>7.0</SupportedOSPlatformVersion>
</PropertyGroup>

Expand Down
4 changes: 2 additions & 2 deletions Crystallography/Crystallography.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<OutputType>Library</OutputType>
<TargetFramework>net8.0-windows10.0.22621.0</TargetFramework>
<UseWindowsForms>true</UseWindowsForms>
<AssemblyVersion>2024.8.5.1006</AssemblyVersion>
<FileVersion>2024.8.5.1006</FileVersion>
<AssemblyVersion>2024.8.7.0454</AssemblyVersion>
<FileVersion>2024.8.7.0454</FileVersion>
<SupportedOSPlatformVersion>7.0</SupportedOSPlatformVersion>
</PropertyGroup>

Expand Down
4 changes: 2 additions & 2 deletions Crystallography/Stereonet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ public static class Stereonet
/// </summary>
/// <param name="vec"></param>
/// <returns></returns>
public static PointD ConvertVectorToWulff(Vector3D vec)
public static PointD ConvertVectorToWulff(Vector3DBase vec)
{
if (vec == null) return new PointD(-100, -100);
var v = Vector3D.Normarize(vec);
var v = Vector3DBase.Normarize(vec);
return v.Z >= -0.999999 ? new PointD(v.X / (1 + v.Z), v.Y / (1 + v.Z)) : new PointD(-100, -100);
}

Expand Down
Loading

0 comments on commit 0e85b8b

Please sign in to comment.