Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KAlO2/PerfectShow
/ dot
Method
dot
jni/venus/vec2.h:162–165 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
160
}
161
162
friend T dot(const vec2<T>& v1, const vec2<T>& v2)
163
{
164
return v1.x * v2.x + v1.y * v2.y;
165
}
166
167
/**
168
* The cross product of the two vectors in 2D.
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected