daily update on 20221117 by nitload youmu
This commit is contained in:
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
@@ -1,12 +1,6 @@
|
||||
using OpenTK;
|
||||
using OpenTK.Graphics.ES10;
|
||||
using OpenTK.Graphics.ES11;
|
||||
using OpenTK.Graphics.ES20;
|
||||
using OpenTK.Graphics.ES30;
|
||||
using OpenTK.Graphics.OpenGL;
|
||||
using OpenTK.Graphics.OpenGL4;
|
||||
using StgSharp;
|
||||
using StgSharp.Geometry;
|
||||
using StgSharp.Geometries;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
@@ -18,7 +12,20 @@ namespace Debug
|
||||
{
|
||||
internal class Program
|
||||
{
|
||||
public static void Main()
|
||||
{
|
||||
float[] a= new float[10];
|
||||
|
||||
for (int i = 0; i < 10; i++)
|
||||
{
|
||||
a[i] = i;
|
||||
}
|
||||
|
||||
ref float b = ref a[5];
|
||||
|
||||
float c = 100;
|
||||
Console.WriteLine(c==b);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1 +1 @@
|
||||
c03a58d914d1f5e5175f5a6d1301ee4540a0996a
|
||||
51fe2eeb4772cba64a34f22d94343e2e81185c5d
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -20,5 +20,8 @@ namespace StgSharp.Control
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
using StgSharp.Entity;
|
||||
using StgSharp.Geometry;
|
||||
using StgSharp.Entities;
|
||||
using StgSharp.Geometries;
|
||||
using StgSharp.Logic;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using StgSharp.Geometry;
|
||||
using StgSharp.Geometries;
|
||||
using StgSharp.Logic;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using OpenTK.Input;
|
||||
using StgSharp.Control;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
@@ -15,6 +16,11 @@ namespace StgSharp.Entities
|
||||
private readonly float _velocityHigh;
|
||||
private readonly float _vHighCorner;
|
||||
|
||||
private float topBoarder;
|
||||
private float bottomBoarder;
|
||||
private float leftBoarder;
|
||||
private float rightBoarder;
|
||||
|
||||
public float VelocityHigh
|
||||
{
|
||||
get { return _velocityHigh; }
|
||||
@@ -80,7 +86,8 @@ namespace StgSharp.Entities
|
||||
|
||||
//进行移动和射击
|
||||
|
||||
if (_keyboardState.IsKeyDown(Key.ShiftLeft))
|
||||
if (_keyboardState.IsKeyDown(Key.ShiftLeft)||
|
||||
_keyboardState.IsKeyDown(Key.ShiftRight))
|
||||
{
|
||||
FastShoot();
|
||||
FastMove();
|
||||
@@ -131,7 +138,9 @@ namespace StgSharp.Entities
|
||||
this._y -= _velocityLow;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using StgSharp.Geometries;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
@@ -8,8 +9,8 @@ namespace StgSharp.Entities
|
||||
{
|
||||
public class RenderedGeometry
|
||||
{
|
||||
internal Geometry.Geometry route;
|
||||
public Geometry.Geometry Route
|
||||
internal Geometry route;
|
||||
public Geometry Route
|
||||
{
|
||||
get { return route; }
|
||||
set { route = value; }
|
||||
|
||||
Binary file not shown.
Binary file not shown.
+1
-1
@@ -1 +1 @@
|
||||
d816afe95034b978cb250201fa492ddd20eb00e6
|
||||
78a3e5543c41d207f29c2854071e8291080d2b4f
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user