daily update on 20240828 by nitload youmu, autotexture added
This commit is contained in:
+20
-19
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user