OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:worldcoords
(Results
1 - 2
of
2
) sorted by null
/external/libgdx/gdx/src/com/badlogic/gdx/utils/viewport/
Viewport.java
82
public Vector2 project (Vector2
worldCoords
) {
83
tmp.set(
worldCoords
.x,
worldCoords
.y, 1);
85
worldCoords
.set(tmp.x, tmp.y);
86
return
worldCoords
;
100
public Vector3 project (Vector3
worldCoords
) {
101
camera.project(
worldCoords
, screenX, screenY, screenWidth, screenHeight);
102
return
worldCoords
;
117
public Vector2 toScreenCoordinates (Vector2
worldCoords
, Matrix4 transformMatrix) {
118
tmp.set(
worldCoords
.x, worldCoords.y, 0)
[
all
...]
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/
Camera.java
220
public Vector3 project (Vector3
worldCoords
) {
221
project(
worldCoords
, 0, 0, Gdx.graphics.getWidth(), Gdx.graphics.getHeight());
222
return
worldCoords
;
235
public Vector3 project (Vector3
worldCoords
, float viewportX, float viewportY, float viewportWidth, float viewportHeight) {
236
worldCoords
.prj(combined);
237
worldCoords
.x = viewportWidth * (
worldCoords
.x + 1) / 2 + viewportX;
238
worldCoords
.y = viewportHeight * (
worldCoords
.y + 1) / 2 + viewportY;
239
worldCoords
.z = (worldCoords.z + 1) / 2;
[
all
...]
Completed in 79 milliseconds