mirror of
https://github.com/UnickSoft/graphonline.git
synced 2026-04-24 08:56:43 +00:00
Change script location.
Split js code. Added cache and changed loading mechanism for js sources.
This commit is contained in:
11
script/entities/vertex/model/VertexModel.js
Normal file
11
script/entities/vertex/model/VertexModel.js
Normal file
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
* This is graph model used for hit test and draw.
|
||||
*
|
||||
*/
|
||||
|
||||
const defaultVertexDiameter = 30;
|
||||
|
||||
function VertexModel()
|
||||
{
|
||||
this.diameter = globalApplication.GetDefaultVertexSize();
|
||||
}
|
||||
Reference in New Issue
Block a user