MCPcopy Create free account
hub / github.com/axmolengine/axmol / unprojectGL

Method unprojectGL

core/2d/Camera.cpp:328–333  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

326}
327
328Vec3 Camera::unprojectGL(const Vec3& src) const
329{
330 Vec3 dst;
331 unprojectGL(_director->getWinSize(), &src, &dst);
332 return dst;
333}
334
335void Camera::unproject(const Vec2& viewport, const Vec3* src, Vec3* dst) const
336{

Callers 2

isScreenPointInRectFunction · 0.80
onTouchEndMethod · 0.80

Calls 3

transformVectorMethod · 0.80
getInversedMethod · 0.45
setMethod · 0.45

Tested by 1

onTouchEndMethod · 0.64