daily update on 20240828 by nitload youmu, autotexture added

This commit is contained in:
Nitload
2024-08-28 10:58:31 +08:00
parent d082071f2d
commit 1ee4e4a42f
586 changed files with 60910 additions and 123106 deletions
+20 -19
View File
@@ -38,6 +38,7 @@ namespace StgSharp.Gaming
{
public abstract class Bullet : IInstancing, IPlainEntity
{
protected Bullet
(
PlainInstancingBuffer<Bullet> buffer,
@@ -54,11 +55,23 @@ namespace StgSharp.Gaming
GlobalBuffer = buffer;
BufferId = buffer.CreateInstanceID();
((IInstancing)this).Scale = scale;
((IInstancing)this).Coord = new vec3d( beginPosition,0);
((IInstancing)this).Coord = new vec3d(beginPosition, 0);
((IInstancing)this).Rotation = angle;
Motion = movement;
}
public GeometryMotion Motion
{
get;
set;
}
public IInstancingBuffer GlobalBuffer
{
get;
set;
}
public int BufferId
{
get;
@@ -71,28 +84,16 @@ namespace StgSharp.Gaming
set;
}
public IInstancingBuffer GlobalBuffer
{
get;
set;
}
public GeometryMotion Motion
{
get;
set;
}
vec3d IInstancing.CenterPositionGlobal
{
get;
set;
}
public bool CollideWith(IPlainEntity entity)
{
throw new System.NotImplementedException();
}
vec3d IInstancing.CenterPositionGlobal
{
get;
set;
}
}
}