Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dabing1022/Blog
/ functions
Functions
2,930 in github.com/dabing1022/Blog
⨍
Functions
2,930
◇
Types & classes
376
↳
Endpoints
16
↓ 535 callers
Method
push
TheCProgrammingLanguage/LuaGlue/test05/lua_tinker.cpp:424
↓ 179 callers
Method
get
Get a copy (new object) of this vector. @return a perpendicular vector
Processing/game2dai/maths/Vector2D.java:184
↓ 135 callers
Method
floor
Get the largest whole number smaller than x. @param x number from which floor is requested @return a double number f such that f is an integer f <= x
Processing/game2dai/maths/FastMath.java:3701
↓ 129 callers
Method
set
(final Vector2D v)
Processing/game2dai/maths/Vector2D.java:106
↓ 115 callers
Method
pos
Get the current position. @return current position
Processing/game2dai/entities/BaseEntity.java:360
↓ 112 callers
Method
sin
Sine function. @param x a number @return sin(x)
Processing/game2dai/maths/FastMath.java:2504
↓ 108 callers
Method
mult
Multiply the vector by a scalar @param d
Processing/game2dai/maths/Vector2D.java:300
↓ 104 callers
Method
cos
Cosine function @param x a number @return cos(x)
Processing/game2dai/maths/FastMath.java:2601
↓ 99 callers
Method
split
Compute split[0], split[1] such that their sum is equal to d, and split[0] has its 30 least significant bits as zero. @param d number to split @param
Processing/game2dai/maths/FastMath.java:1030
↓ 98 callers
Method
sqrt
Compute the square root of a number. <p><b>Note:</b> this implementation currently delegates to {@link Math#sqrt} @param a number on which evaluation
Processing/game2dai/maths/FastMath.java:285
↓ 93 callers
Method
add
Add a vector to this one @param v the vector to add
Processing/game2dai/maths/Vector2D.java:273
↓ 88 callers
Method
max
Compute the maximum of two values @param a first value @param b second value @return b if a is lesser or equal to b, a otherwise
Processing/game2dai/maths/FastMath.java:3861
↓ 85 callers
Method
round
Get the closest long to x. @param x number from which closest long is requested @return closest long to x
Processing/game2dai/maths/FastMath.java:3776
↓ 84 callers
Method
min
Compute the minimum of two values @param a first value @param b second value @return a if a is lesser or equal to b, b otherwise
Processing/game2dai/maths/FastMath.java:3793
↓ 79 callers
Method
begin
GameAI/Graph/SparseGraph.h:193
↓ 77 callers
Method
toString
Return the Domain as a String
Processing/game2dai/Domain.java:207
↓ 76 callers
Function
lua_pushstring
TheCProgrammingLanguage/LuaGlue/lua/lapi.c:454
↓ 72 callers
Method
end
return true if we are at the end of the edge list
GameAI/Graph/SparseGraph.h:211
↓ 71 callers
Function
lua_pushvalue
TheCProgrammingLanguage/LuaGlue/lua/lapi.c:228
↓ 71 callers
Function
u
(n)
Javascript/D3JS/d3.v3.min.js:1
↓ 70 callers
Method
add
This method must <b>only</b> be used before the main program starts. If it is called during a world update then the program is likely to crash, in thi
Processing/game2dai/World.java:620
↓ 68 callers
Method
pop
to get the max item the first element is exchanged with the lowest in the heap and then the heap is reordered from the top down.
GameAI/misc/PriorityQueue.h:165
↓ 66 callers
Function
t
(n)
Javascript/D3JS/d3.v3.min.js:1
↓ 65 callers
Method
stroke
Set the border colour
Processing/game2dai/entityshapes/ps/BuildingPic.java:98
↓ 63 callers
Function
G
(n)
Javascript/D3JS/d3.v3.min.js:1
↓ 63 callers
Method
To
GameAI/Graph/GraphEdgeTypes.h:60
↓ 62 callers
Method
log
Natural logarithm. @param x a double @return log(x)
Processing/game2dai/maths/FastMath.java:1240
↓ 57 callers
Method
fill
Set the centre colour
Processing/game2dai/entityshapes/ps/BuildingPic.java:90
↓ 57 callers
Function
n
(n,t)
Javascript/D3JS/d3.v3.min.js:1
↓ 56 callers
Function
lua_pushnumber
TheCProgrammingLanguage/LuaGlue/lua/lapi.c:429
↓ 55 callers
Method
translate
Translate the matrix by the amount specified in x and y. @param x x-translation value @param y y-translation value
Processing/game2dai/maths/Matrix2D.java:118
↓ 54 callers
Method
toArray
Get the coordinates as an array.
Processing/game2dai/maths/Vector2D.java:451
↓ 53 callers
Function
luaL_error
TheCProgrammingLanguage/LuaGlue/lua/lauxlib.c:86
↓ 52 callers
Method
random
Create a random normalised vector. @param target the vector to randomise, create a vector if null @return the randomised vector
Processing/game2dai/maths/Vector2D.java:439
↓ 50 callers
Function
H
(a,b,c,e,d,f,g,h,k)
Processing/addons/processing.min.js:176
↓ 50 callers
Method
pow
Power function. Compute x^y. @param x a double @param y a double @return double
Processing/game2dai/maths/FastMath.java:1543
↓ 50 callers
Method
scale
Resize the world due to changes in magnification so that the image is centred in the display area. @param scale the level of magnification (must be >
Processing/game2dai/World.java:295
↓ 48 callers
Method
moveTo
Set the current position for this entity. @param x world x position @param y world y position
Processing/game2dai/entities/BaseEntity.java:319
↓ 46 callers
Method
println
(String pattern, Object ... arguments)
Processing/pathfinder/Message.java:34
↓ 44 callers
Method
abs
Absolute value. @param x number from which absolute value is requested @return abs(x)
Processing/game2dai/maths/FastMath.java:3362
↓ 43 callers
Function
lua_gettop
TheCProgrammingLanguage/LuaGlue/lua/lapi.c:159
↓ 43 callers
Method
test
TheCProgrammingLanguage/LuaGlue/test05/sample3.cpp:28
↓ 42 callers
Function
lua_pushcclosure
TheCProgrammingLanguage/LuaGlue/lua/lapi.c:486
↓ 40 callers
Function
a
(f)
Processing/addons/processing.min.js:27
↓ 40 callers
Function
index2adr
TheCProgrammingLanguage/LuaGlue/lua/lapi.c:49
↓ 40 callers
Function
r
(n)
Javascript/D3JS/d3.v3.min.js:1
↓ 39 callers
Method
sub
(final Vector2D v)
Processing/game2dai/maths/Vector2D.java:290
↓ 38 callers
Function
e
(n)
Javascript/D3JS/d3.v3.min.js:1
↓ 38 callers
Method
println
(String pattern, Object ... arguments)
Processing/game2dai/utils/Message.java:36
↓ 36 callers
Method
atan2
Two arguments arctangent function @param y ordinate @param x abscissa @return phase angle of point (x,y) between {@code -PI} and {@code PI}
Processing/game2dai/maths/FastMath.java:2952
↓ 36 callers
Function
luaL_checknumber
TheCProgrammingLanguage/LuaGlue/lua/lauxlib.c:176
↓ 35 callers
Function
lua_setfield
TheCProgrammingLanguage/LuaGlue/lua/lapi.c:657
↓ 34 callers
Function
check
TheCProgrammingLanguage/LuaGlue/lua/lparser.c:89
↓ 33 callers
Method
forceRecorder
Get the force recorder if this vehicle has one. This is used by the World class when displaying all force logs @return the force logger or null if it
Processing/game2dai/entities/Vehicle.java:200
↓ 33 callers
Method
remove
Remove an entity from the world. <br> @param entity the entity to use
Processing/game2dai/World.java:638
↓ 32 callers
Function
T
(a)
Processing/addons/processing.min.js:169
↓ 32 callers
Function
U
(a)
Processing/addons/processing.min.js:170
↓ 32 callers
Method
accumulateForce
This method is used by the PRIORITISED force calculation method. <br> For each active behaviour in turn it calculates how much of the maximum steering
Processing/game2dai/steering/AutoPilot.java:2115
↓ 32 callers
Method
addData
(int type, Vector2D force)
Processing/game2dai/utils/ForceRecorder.java:46
↓ 32 callers
Function
c
(a,b,c)
Processing/addons/p5.min.js:1
↓ 32 callers
Function
isNaN
GameAI/misc/utils.h:36
↓ 31 callers
Function
n
(b,d)
Processing/addons/processing.min.js:10
↓ 30 callers
Function
a
(n)
Javascript/D3JS/d3.v3.min.js:1
↓ 29 callers
Method
length
Get the vector length
Processing/game2dai/maths/Vector2D.java:126
↓ 29 callers
Function
lua_pushfstring
TheCProgrammingLanguage/LuaGlue/lua/lapi.c:473
↓ 29 callers
Function
lua_pushinteger
TheCProgrammingLanguage/LuaGlue/lua/lapi.c:437
↓ 29 callers
Method
normalize
Normalise this vector
Processing/game2dai/maths/Vector2D.java:222
↓ 28 callers
Method
NumNodes
returns the number of active + inactive nodes present in the graph
GameAI/Graph/SparseGraph.h:108
↓ 28 callers
Function
i
(n,t)
Javascript/D3JS/d3.v3.min.js:1
↓ 28 callers
Function
lua_remove
TheCProgrammingLanguage/LuaGlue/lua/lapi.c:180
↓ 28 callers
Method
next
GameAI/Graph/SparseGraph.h:200
↓ 28 callers
Method
rotate
Rotate the matrix. @param rot angle in radians.
Processing/game2dai/maths/Matrix2D.java:144
↓ 27 callers
Function
bt
(n)
Javascript/D3JS/d3.v3.min.js:1
↓ 27 callers
Function
lua_pushnil
TheCProgrammingLanguage/LuaGlue/lua/lapi.c:421
↓ 27 callers
Function
lua_rawgeti
TheCProgrammingLanguage/LuaGlue/lua/lapi.c:567
↓ 27 callers
Function
m
(a,d,f)
Processing/addons/processing.min.js:8
↓ 27 callers
Method
tan
Tangent function @param x a number @return tan(x)
Processing/game2dai/maths/FastMath.java:2685
↓ 26 callers
Function
D
(a,b)
Processing/addons/processing.min.js:163
↓ 26 callers
Function
Y
(a)
Processing/addons/processing.min.js:170
↓ 26 callers
Function
b
(c,a)
Processing/addons/processing.min.js:18
↓ 25 callers
Function
luaX_next
TheCProgrammingLanguage/LuaGlue/lua/llex.c:448
↓ 25 callers
Function
lua_getfield
TheCProgrammingLanguage/LuaGlue/lua/lapi.c:544
↓ 25 callers
Function
lua_rawset
TheCProgrammingLanguage/LuaGlue/lua/lapi.c:671
↓ 24 callers
Method
Index
GameAI/Graph/GraphNodeTypes.h:35
↓ 24 callers
Method
id
Get the node ID @return the id
Processing/game2dai/graph/GraphNode.java:106
↓ 24 callers
Function
isEqual
compares two real numbers. Returns true if they are equal
GameAI/misc/utils.h:225
↓ 24 callers
Function
luaK_codeABC
TheCProgrammingLanguage/LuaGlue/lua/lcode.c:804
↓ 23 callers
Method
create
(self)
python/npyscreen/demo0.py:16
↓ 23 callers
Method
isEmpty
returns true if the graph contains no nodes
GameAI/Graph/SparseGraph.h:140
↓ 23 callers
Function
luaL_checktype
TheCProgrammingLanguage/LuaGlue/lua/lauxlib.c:146
↓ 23 callers
Function
lua_settop
TheCProgrammingLanguage/LuaGlue/lua/lapi.c:164
↓ 23 callers
Function
lua_type
TheCProgrammingLanguage/LuaGlue/lua/lapi.c:242
↓ 22 callers
Method
Clone
GameAI/fuzzy/FzSet.h:34
↓ 22 callers
Method
colRadius
Get the bounding radius for this object. @return the collision radius
Processing/game2dai/entities/BaseEntity.java:209
↓ 22 callers
Function
lua_tonumber
TheCProgrammingLanguage/LuaGlue/lua/lapi.c:313
↓ 22 callers
Function
lua_topointer
TheCProgrammingLanguage/LuaGlue/lua/lapi.c:401
↓ 21 callers
Function
Z
(a)
Processing/addons/processing.min.js:170
↓ 21 callers
Method
div
Divide the vector by a scalar @param d
Processing/game2dai/maths/Vector2D.java:310
↓ 21 callers
Function
f
(f)
Processing/addons/processing.min.js:10
↓ 21 callers
Function
o
()
Javascript/D3JS/d3.v3.min.js:1
next →
1–100 of 2,930, ranked by callers