~ubuntu-branches/debian/sid/ember/sid

« back to all changes in this revision

Viewing changes to src/components/ogre/SceneManagers/EmberPagingSceneManager/include/OgreDebugRectangle2D.h

  • Committer: Package Import Robot
  • Author(s): Olek Wojnar, Stephen M. Webb, Olek Wojnar
  • Date: 2016-08-06 18:39:19 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20160806183919-4g72j3flj7xe2stj
Tags: 0.7.2+dfsg-1
[ Stephen M. Webb ]
* debian/control: updated build-depends to newer minimum versions
  (closes: #704786)
* debian/control: updated Standards-Version to 3.9.4 (updated VCS-* fields)
* debian/patches/0001-ember.in-test-expr.patch: removed (fixed upstream)
* debian/patches/0002-add-update_lua_bindings.patch: removed (fixed upstream)
* debian/patches/0003-add-atlas-pkg.patch: removed (fixed upstream)
* debian/patches/0004-domain-bindings-lua-makefile.patch: refreshed
* debian/patches/0005-ember.in-prefix.patch: removed (fixed upstream)
* debian/patches/0006-spellcheck-similiar.patch: removed (fixed upstream)
* debian/patches/0007-revert-libwfut-version.patch: refreshed
* debian/patches/0008-replace-fastdeletegate-with-sigc++.patch: removed
 (fixed upstream)
* debian/patches/0009-spelling-bach.patch: removed (fixed upstream)
* debian/patches/0010-fix-ember-script-args.patch: removed (fixed upstream)
* debian/patches/0011-qualify-template-functions.patch: removed (fixed
  upstream)
* debian/patches/0012-fix-osdir-headers.patch: removed (fixed upstream)
* debian/patches/0013-remove-invalid-linker-flags.patch: removed (fixed
  upstream)
* debian/patches/0014-add-missing-ogrelodstrategy.patch: new
* debian/control: fixed Vcs-Browser URL
* debian/patches/0015-verbose-configure-errors.patch: new
* debian/patches/0016-boost-1.53.patch: new
* debian/control: bump boost build dependeny to 1.53

[ Olek Wojnar ]
* New upstream release (Closes: #799748)
* Add myself as new uploader
  - Remove Stephen Webb per his request
  - Thanks for all the contributions, Stephen!
* d/patches/0007-revert-libwfut-version.patch: removed (unnecessary)
* d/control
  - Remove pre-dependency on dpkg
  - Update standards to 3.9.8 (no changes)
  - Update Vcs lines for secure URIs
* Import patch from the wfmath package to replace MersenneTwister.h
  -- Avoids problems from ambiguous copyright of the original file
* Update dependencies for version 0.7.2
* Enable all hardening options
* Add three lintian overrides
  -- Ignore install into usr/bin (binary)
  -- Ignore .rc files needed for WIN32 build (source)
  -- Ignore false positive of spelling error (binary)
* d/copyright: Update contributors and dates
* d/rules
  -- Do not remove "sounddefinitions" directory
  -- Enable parallel build
  -- Do not install into games directories
  -- Remove dh_builddeb override since xz is now the default
* d/watch: update file extensions
* Remove three patches, add eight patches, update remaining patches
  -- 0004-domain-bindings-lua-makefile.patch (implemented upstream)
  -- 0014-add-missing-ogrelodstrategy.patch (implemented upstream)
  -- 0016-boost-1.53.patch (patch target file removed upstream)
  -- 0018-enable-subdir-objects.patch (Fix automake 1.14 warnings)
  -- 0019-update-boost-m4.patch (Fix invalid boost_major_version)
  -- 0020-remove-obsolete-includes.patch (Fix obsolete includes)
  -- 0021-GraphicalChangeAdapter-fix-for-newer-compilers.patch (Added)
  -- 0022-fix-typos.patch (Fix typos identified by lintian)
  -- 0023-add-keywords-to-desktop-file.patch (Add Keywords to .desktop file)
  -- 0024-fix-icon-location (Make icon location Icon Theme Spec-compliant)
  -- 0025-fix-duplicate-script-install.patch (Was causing build failures)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
-----------------------------------------------------------------------------
3
 
This source file is part of OGRE
4
 
(Object-oriented Graphics Rendering Engine)
5
 
For the latest info, see http://www.ogre3d.org/
6
 
 
7
 
Copyright (c) 2000-2006 The OGRE Team
8
 
Also see acknowledgements in Readme.html
9
 
 
10
 
This program is free software; you can redistribute it and/or modify it under
11
 
the terms of the GNU Lesser General Public License as published by the Free Software
12
 
Foundation; either version 2 of the License, or (at your option) any later
13
 
version.
14
 
 
15
 
This program is distributed in the hope that it will be useful, but WITHOUT
16
 
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
17
 
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
18
 
 
19
 
You should have received a copy of the GNU Lesser General Public License along with
20
 
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
21
 
Place - Suite 330, Boston, MA 02111-1307, USA, or go to
22
 
http://www.gnu.org/copyleft/lesser.txt.
23
 
-----------------------------------------------------------------------------
24
 
*/
25
 
 
26
 
#ifndef _DebugRectangle2D_H__
27
 
#define _DebugRectangle2D_H__
28
 
 
29
 
#include "OgrePagingLandScapePrerequisites.h"
30
 
 
31
 
#ifdef _VISIBILITYDEBUG
32
 
 
33
 
#include "OgreSimpleRenderable.h"
34
 
 
35
 
namespace Ogre 
36
 
{
37
 
 
38
 
    /** Allows the rendering of a simple 2D rectangle
39
 
    This class renders a simple 2D rectangle; this rectangle has no depth and
40
 
    therefore is best used with specific render queue and depth settings,
41
 
    like RENDER_QUEUE_BACKGROUND and 'depth_write off' for backdrops, and 
42
 
    RENDER_QUEUE_OVERLAY and 'depth_check off' for fullscreen quads.
43
 
    */
44
 
    class DebugRectangle2D : public SimpleRenderable
45
 
    {
46
 
        protected:
47
 
            /** Override this method to prevent parent transforms (rotation,translation,scale)
48
 
            */
49
 
            void getWorldTransforms(Matrix4* xform) const;
50
 
            /** @copydoc Renderable::getWorldOrientation */
51
 
            const Quaternion& getWorldOrientation(void) const;
52
 
            /** @copydoc Renderable::getWorldPosition */
53
 
            const Vector3& getWorldPosition(void) const;
54
 
 
55
 
        public:
56
 
 
57
 
            DebugRectangle2D();
58
 
            ~DebugRectangle2D();
59
 
 
60
 
            /** Sets the corners of the rectangle, in relative coordinates.
61
 
            @param
62
 
            left Left position in screen relative coordinates, -1 = left edge, 1.0 = right edge
63
 
            top Top position in screen relative coordinates, 1 = top edge, -1 = bottom edge
64
 
            right Right position in screen relative coordinates
65
 
            bottom Bottom position in screen relative coordinates
66
 
            */
67
 
            void setCorners(Real left, Real top, Real right, Real bottom);
68
 
 
69
 
            Real getSquaredViewDepth(const Camera* cam) const { return 0; }
70
 
 
71
 
            Real getBoundingRadius(void) const { return 0; }
72
 
            /// Identity view and projection
73
 
#ifdef PLSM2_EIHORT
74
 
            bool getUseIdentityProjection(void) const { return mUseIdentityProjection; }
75
 
#else
76
 
            bool useIdentityProjection(void) const { return true; }
77
 
#endif
78
 
            /// Identity view and projection
79
 
#ifdef PLSM2_EIHORT
80
 
            bool getUseIdentityView(void) const { return mUseIdentityView; }
81
 
#else
82
 
            bool useIdentityView(void) const { return true; }
83
 
#endif
84
 
 
85
 
    };
86
 
 
87
 
}// namespace
88
 
 
89
 
#endif //_VISIBILITYDEBUG
90
 
 
91
 
#endif // _DebugRectangle2D_H__
92