daily update on 20240528 by nitload youmu
This commit is contained in:
@@ -55,18 +55,5 @@ namespace StgSharp.Geometries
|
||||
get => ref coordMat;
|
||||
}
|
||||
|
||||
//TODO 几何体构建器需要重写
|
||||
public T BuildGeometry<T>(params vec4d[] defaultVertex) where T : IGeometry
|
||||
{
|
||||
T ret = Activator.CreateInstance<T>();
|
||||
ret.GetVertexHandle(this, ret.VertexCount);
|
||||
for (int i = 0; i < ret.VertexCount; i++)
|
||||
{
|
||||
ret[i] = defaultVertex[i];
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user