GL Studio C++ Runtime API
gls_primitive_storage_types.h
Go to the documentation of this file.
1 /*! \file
2  \brief The disti::V2f, disti::V2f_C4ub, disti::V3f_C4ub, disti::V2f_T2f_C4ub, and the disti::V2f_T2f structs.
3 
4  \par Copyright Information
5 
6  Copyright (c) 2017 by The DiSTI Corporation.<br>
7  11301 Corporate Blvd., Suite 100<br>
8  Orlando, Florida 32817<br>
9  USA<br>
10  <br>
11  All rights reserved.<br>
12 
13  This Software contains proprietary trade secrets of DiSTI and may not be
14  reproduced, in whole or part, in any form, or by any means of electronic,
15  mechanical, or otherwise, without the written permission of DiSTI. Said
16  permission may be derived through the purchase of applicable DiSTI product
17  licenses which detail the distribution rights of this content and any
18  Derivative Works based on this or other copyrighted DiSTI Software.
19 
20  NO WARRANTY. THE SOFTWARE IS PROVIDED "AS-IS," WITHOUT WARRANTY OF ANY KIND,
21  AND ANY USE OF THIS SOFTWARE PRODUCT IS AT YOUR OWN RISK. TO THE MAXIMUM EXTENT
22  PERMITTED BY APPLICABLE LAW, DISTI AND ITS SUPPLIERS DISCLAIM ALL WARRANTIES
23  AND CONDITIONS, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
24  IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY AND/OR FITNESS FOR A
25  PARTICULAR PURPOSE, TITLE, AND NON-INFRINGEMENT, WITH REGARD TO THE SOFTWARE.
26 
27  LIMITATION OF LIABILITY. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW,
28  IN NO EVENT SHALL DISTI OR ITS SUPPLIERS BE LIABLE FOR ANY SPECIAL, INCIDENTAL,
29  INDIRECT, OR CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION,
30  DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS
31  INFORMATION, OR ANY OTHER PECUNIARY LOSS) ARISING OUT OF THE USE OF OR
32  INABILITY TO USE THE SOFTWARE, EVEN IF DISTI HAS BEEN ADVISED OF THE POSSIBILITY
33  OF SUCH DAMAGES. DISTI'S ENTIRE LIABILITY AND YOUR EXCLUSIVE REMEDY SHALL NOT
34  EXCEED FIVE DOLLARS (US$5.00).
35 
36  The aforementioned terms and restrictions are governed by the laws of the
37  State of Florida and the United States of America.
38 
39  */
40 
41 #ifndef GLS_PRIMITIVE_STORAGE_TYPES_H
42 #define GLS_PRIMITIVE_STORAGE_TYPES_H
43 
44 #include "gls_color.h"
45 #include "gls_include.h"
46 #include "vertex.h"
47 
48 namespace disti
49 {
50 typedef struct
51 {
52  float x;
53  float y;
54 } V2f;
55 
56 typedef struct
57 {
58  V2f _vert;
59  glsColor _color;
60 } V2f_C4ub;
61 
62 typedef struct
63 {
64  Vector _vert;
65  glsColor _color;
66 } V3f_C4ub;
67 
68 typedef struct
69 {
70  V2f _vert;
71  V2f _tex;
72  glsColor _color;
73 } V2f_T2f_C4ub;
74 
75 typedef struct
76 {
77  V2f _vert;
78  V2f _tex;
79 } V2f_T2f;
80 
81 } // namespace disti
82 
83 #endif
Definition: gls_primitive_storage_types.h:50
Definition: gls_primitive_storage_types.h:68
Definition: gls_primitive_storage_types.h:56
The Color class: Implements a 4 component RGBA color.
A file for all GL Studio files to include.
Definition: gls_primitive_storage_types.h:75
The disti::Vertex class. A class for manipulating 3D vertices.
Definition: gls_color.h:53
Definition: vertex.h:84
Definition: gls_primitive_storage_types.h:62
Definition: bmpimage.h:46