daily update on 20240610 by nitload youmu

This commit is contained in:
Nitload
2024-06-10 15:11:01 +08:00
parent c0093f7b5c
commit f6963b8e00
96 changed files with 2927 additions and 2290 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ namespace StgSharp.Graphics
/// </summary>
/// <param name="source">Shader program requires this camera.</param>
/// <param name="uniformName">
/// Name of all related uniforms.
/// ContextName of all related uniforms.
/// If you fallow form from <see cref="IglConvertable.DisplayGLtypeDefinition"/>
/// </param>
/// <exception cref="ArgumentException"></exception>
@@ -31,10 +31,6 @@
namespace StgSharp.Math
{
internal class Coordination
{
}
public enum CoordinatePlain
{
XY,
+12
View File
@@ -200,6 +200,18 @@ namespace StgSharp.Math
return v;
}
public unsafe vec2d XY
{
get => new vec2d(this.vec);
set
{
fixed (Vector3* vptr = &v)
{
*(Vector2*)vptr = value.v;
}
}
}
}
public static class Vec3d