aboutsummaryrefslogtreecommitdiff
path: root/advtrains/textures/advtrains_dtrack_atc_placer.png
blob: 31c2b303e756bb7ce2e7c26a78a044488748851d (plain)
ofshex dumpascii
0000 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 00 38 00 00 00 39 08 06 00 00 00 63 da e8 .PNG........IHDR...8...9.....c..
0020 bb 00 00 00 06 62 4b 47 44 00 ff 00 ff 00 ff a0 bd a7 93 00 00 00 09 70 48 59 73 00 00 0b 13 00 .....bKGD..............pHYs.....
0040 00 0b 13 01 00 9a 9c 18 00 00 00 07 74 49 4d 45 07 e1 01 04 0a 3b 12 61 52 c7 c6 00 00 04 78 49 ............tIME.....;.aR.....xI
0060 44 41 54 68 de ed da 5d 4c 9b 55 18 07 f0 ff 69 0b c5 16 70 d0 52 d7 44 47 c7 1a 5d 9c 6d 36 9c DATh...]L.U....i...p.R.DG..].m6.
0080 4b 36 da a6 66 d3 18 90 11 cc 40 83 5d bc 62 5a c9 cc 82 ce a8 98 65 e1 02 75 f1 06 5d a6 66 59 K6..f.....@.].bZ......e..u..].fY
00a0 a6 c9 bc 90 c5 39 4/* Minetest Copyright (C) 2010-2013 celeron55, Perttu Ahola <celeron55@gmail.com> Copyright (C) 2017 numzero, Lobachevskiy Vitaliy <numzer0@yandex.ru> This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "stereo.h" #include "client/camera.h" #include "constants.h" #include "settings.h" RenderingCoreStereo::RenderingCoreStereo( IrrlichtDevice *_device, Client *_client, Hud *_hud) : RenderingCore(_device, _client, _hud) { eye_offset = BS * g_settings->getFloat("3d_paralax_strength"); } void RenderingCoreStereo::beforeDraw() { cam = camera->getCameraNode(); base_transform = cam->getRelativeTransformation(); } void RenderingCoreStereo::useEye(bool right) { core::matrix4 move; move.setTranslation( core::vector3df(right ? eye_offset : -eye_offset, 0.0f, 0.0f)); cam->setPosition