StgSharp
Add a pool to timeline controller, and return the instance of the pool.
Tick counter count the frames passed since the program start.
A sensor used for cheking out if a bullet hit a player or something else
A 2D vector presenting the position of an enemy entity, position can also be visited by X, Y
X position of an enenmy entity
Y position of an enemy entity
当几何体调用了过多的CalcVec方法时,产生UnusedVertexException异常
计算位移失量,需要手动输入游戏刻以提供时间数据
表示位移量的三维矢量
平面几何体。包含三角形,对称四边形,自由多边形等。最多可由16个点参数定义。
Move the third vertix. this is a useless method for Parallelograms.
Current time tick
Geometry overdefined
Move the third vertix. This method is useless for Parallelograms.
Current time tick
Geometry overdefined
Update the coordinate of the point. If this is a moving point,
(Points on sides or surface if other geometry items)
please do not define any motion here, codes will be ignored by program
Time passes since the program begin, counted by frames
计算中心点相对于参考原点的位移
当前游戏刻
A square
Constructor of a Form, creats an instance of a form and
initilize all the customizing operations.
A window struct that has nearly no differencr with GLFWwindow,
but only can be referred by pointers.
Creates a form and its associated context.
Required width
Required width
Tittle of the window
The instance of created form
Creates a window and its associated context.
Required width
Required width
Tittle of the window
The handle of created window
Load OpenGL API to StgSharp core programm,
please call this method before call any other
graphic APIs in StgSharp.
If run this method twice, will throw exception
Init an instance of OpenGL program,
This method should be called before other
graphic methods, after LoadGL method.
Attach GLFW API to GLAD,
this method should be called after LoadGL
and before other graphic method.
The accident that program cannot attach GLFW to GLAD
Add an item to the tail of linked list.
The item ready to add to the list
A two dimension vector defined by two elements.
Vec2Ds in StgSharp are defaultly usaed as colum vector.
Reurns the value of ArcSin(x)
The sine value of the angle
Get the value of E ^ x;
Returns the value of ln(x).
calculate the value of x^y
Returns the value of x^y
returns a random float number between 0 and 1.
Generates a random seed in int value.