rename ungenericed graphic vec usage to genericed

This commit is contained in:
Youmu Liu
2026-09-04 18:51:27 +08:00
parent 41ca31fd9a
commit ee67dfbde1
20 changed files with 755 additions and 760 deletions
@@ -16,16 +16,16 @@ namespace Nitload.Geometries
{
internal readonly float d = -1;
internal Vec3 _origin;
internal Vec3<float> _origin;
internal Vec3 plainParameter;
internal Vec3 vec1;
internal Vec3 vec2;
internal Vec3<float> plainParameter;
internal Vec3<float> vec1;
internal Vec3<float> vec2;
public Plain(
Vec3 o,
Vec3 v1,
Vec3 v2
Vec3<float> o,
Vec3<float> v1,
Vec3<float> v2
)
{
this._origin = o;
@@ -50,9 +50,9 @@ namespace Nitload.Geometries
Point p3
)
{
Vec3 origin = p1.Coord;
Vec3 v1 = p2.Coord - origin;
Vec3 v2 = p3.Coord - origin;
Vec3<float> origin = p1.Coord;
Vec3<float> v1 = p2.Coord - origin;
Vec3<float> v2 = p3.Coord - origin;
vec1 = v1 - (v2 * (v1.Y / v2.Y)); //xz