VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrvGraphicsUtils
DtScreenRect.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2017 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
9
#pragma once
10
11
#include <
vrvGraphicsUtils/DtCommonTypes.h
>
12
#include <
vrvGraphicsUtils/DtVector2.h
>
13
14
#include <vector>
15
16
namespace
makVrv {
17
20
struct
DtScreenRect
21
{
22
Vector2_uint32
vMin
;
23
Vector2_uint32
vMax
;
24
26
uint32
area
(
void
)
const
27
{
28
return
(
vMax
.
x
-
vMin
.
x
)*(
vMax
.
y
-
vMin
.
y
);
29
}
30
};
31
32
typedef
std::vector<DtScreenRect>
VectorScreenRectangles
;
33
34
}
//namespace makVrv
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)