Home
last modified time | relevance | path

Searched refs:mWorld (Results 1 – 6 of 6) sorted by relevance

/external/replicaisland/src/com/replica/replicaisland/
DHotSpotSystem.java27 TiledWorld mWorld; field in HotSpotSystem
88 mWorld = null; in reset()
92 mWorld = world; in setWorld()
98 if (mWorld != null) { in getHotSpot()
103 result = mWorld.getTile(xTile, yTile); in getHotSpot()
112 if (mWorld != null) { in getHotSpotByTile()
113 result = mWorld.getTile(tileX, tileY); in getHotSpotByTile()
122 if (mWorld != null && level != null) { in getHitTileX()
124 xTile = (int)Math.floor(((worldX) / worldPixelWidth) * mWorld.getWidth()); in getHitTileX()
132 if (mWorld != null && level != null) { in getHitTileY()
[all …]
DTiledVertexGrid.java24 private TiledWorld mWorld; field in TiledVertexGrid
55 mWorld = world; in setWorld()
69 final int tilesPerWorldColumn = mWorld.getHeight(); in generateGrid()
75 int tileIndex = mWorld.getTile(startTileX + tileX, in generateGrid()
91 int tileIndex = mWorld.getTile(startTileX + tileX, in generateGrid()
131 TiledWorld world = mWorld; in draw()
134 final int tilesAcross = mWorld.getWidth(); in draw()
135 final int tilesDown = mWorld.getHeight(); in draw()
137 mWorldPixelWidth = mWorld.getWidth() * mTileWidth; in draw()
138 mWorldPixelHeight = mWorld.getHeight() * mTileHeight; in draw()
DCollisionSystem.java42 private TiledWorld mWorld; field in CollisionSystem
67 mWorld = null; in reset()
87 mWorld = world; in initialize()
178 … final int startTileX = Utils.clamp((int)(startX / mTileWidth), 0, mWorld.getWidth() - 1); in testBox()
179 final int endTileX = Utils.clamp((int)(endX / mTileWidth), 0, mWorld.getWidth() - 1); in testBox()
180 … final int startTileY = Utils.clamp((int)(startY / mTileHeight), 0, mWorld.getHeight() - 1); in testBox()
181 final int endTileY = Utils.clamp((int)(endY / mTileHeight), 0, mWorld.getHeight() - 1); in testBox()
186 final int[][] tileArray = mWorld.getTiles(); in testBox()
187 final int worldHeight = mWorld.getHeight() - 1; in testBox()
298 final int worldHeight = mWorld.getHeight() - 1; in executeStraigtRay()
[all …]
/external/swiftshader/third_party/PowerVR_SDK/Examples/Advanced/ChameleonMan/OGLES2/
DOGLES2ChameleonMan.cpp698 PVRTMat4 mWorld; in RenderScene() local
699 mWorld = m_Scene.GetWorldMatrix(Node); in RenderScene()
708 mWorld *= PVRTMat4::RotationY(m_fWallPos); in RenderScene()
723 mWorld = mWallWorld * PVRTMat4::RotationY(m_fWallPos) * mWallWorld.inverse() * mWorld; in RenderScene()
734 mModelViewProj = mViewProjection * mWorld; in RenderScene()
/external/swiftshader/third_party/PowerVR_SDK/Examples/Intermediate/DisplacementMap/OGLES2/
DOGLES2DisplacementMap.cpp562 PVRTMat4 mWorld; in RenderScene() local
563 mWorld = m_Scene.GetWorldMatrix(Node); in RenderScene()
567 mModelView = m_View * mWorld; in RenderScene()
573 vLightDir = mWorld.inverse() * m_LightDir; in RenderScene()
/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTModelPOD.cpp2567 PVRTMat4 mWorld; local
2568 GetWorldMatrixNoCache(mWorld,node);
2569 return mWorld;
2630 PVRTMat4 mWorld; local
2631 GetWorldMatrix(mWorld,node);
2632 return mWorld;
4102 PVRTMATRIX mWorld; local
4302 in.GetWorldMatrix(mWorld, inNode);
4308 mWorldInvTrans = mWorld;
4318 TransformCPODData(inMesh.sVertex, outMesh.sVertex, j, &mWorld, 0, 0, 0, false);
[all …]