Repository navigation
Expand file tree
/
Copy pathbbopFunc_8cpp.html
More file actions
535 lines (509 loc) · 37 KB
/
Copy pathbbopFunc_8cpp.html
File metadata and controls
535 lines (509 loc) · 37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Bbop-2D: src/BBOP/Graphics/bbopFunc.cpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
<td id="projectalign">
<div id="projectname">Bbop-2D<span id="projectnumber"> 0.4.1-alpha</span>
</div>
<div id="projectbrief">Bbop-2D is a c++ library based on openGL to make 2D game. It implement sprite, shape, light and more.</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_3c70b1dc25f2cf0d74631457e9166feb.html">BBOP</a></li><li class="navelem"><a class="el" href="dir_70323402e4040f6d3cf5145fe6e1872b.html">Graphics</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#func-members">Functions</a> </div>
<div class="headertitle"><div class="title">bbopFunc.cpp File Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include "<a class="el" href="bbopFunc_8h_source.html">../../../include/BBOP/Graphics/bbopFunc.h</a>"</code><br />
<code>#include <string></code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for bbopFunc.cpp:</div>
<div class="dyncontent">
<div class="center"><img src="bbopFunc_8cpp__incl.png" border="0" usemap="#asrc_2BBOP_2Graphics_2bbopFunc_8cpp" alt=""/></div>
<map name="asrc_2BBOP_2Graphics_2bbopFunc_8cpp" id="asrc_2BBOP_2Graphics_2bbopFunc_8cpp">
<area shape="rect" title=" " alt="" coords="1692,5,1927,31"/>
<area shape="rect" href="bbopFunc_8h.html" title=" " alt="" coords="1237,79,1398,119"/>
<area shape="poly" title=" " alt="" coords="1738,33,1412,85,1412,80,1737,28"/>
<area shape="rect" title=" " alt="" coords="1413,460,1472,485"/>
<area shape="poly" title=" " alt="" coords="1838,28,1896,57,1968,101,2005,130,2040,162,2070,199,2094,239,2113,276,2119,295,2121,315,2118,336,2106,359,2085,385,2053,414,2028,422,1974,430,1812,446,1486,471,1486,466,1811,441,1973,425,2026,417,2051,410,2081,381,2101,356,2112,334,2116,314,2114,296,2108,279,2090,241,2066,202,2036,166,2002,134,1965,106,1893,61,1836,33"/>
<area shape="rect" href="bbopMathClass_8h.html" title=" " alt="" coords="1594,533,1729,559"/>
<area shape="poly" title=" " alt="" coords="1398,99,1512,104,1657,115,1816,134,1974,164,2014,170,2053,172,2127,175,2158,181,2182,194,2198,217,2204,251,2204,401,2200,431,2188,453,2168,471,2141,488,2110,501,2068,513,1962,529,1846,540,1743,545,1742,540,1845,534,1961,524,2066,507,2108,496,2139,483,2165,467,2184,450,2195,429,2199,400,2199,252,2193,219,2179,198,2156,186,2127,180,2053,178,2013,176,1973,169,1815,140,1656,121,1512,109,1398,104"/>
<area shape="rect" href="bbopGlobal_8h.html" title=" " alt="" coords="1281,460,1389,485"/>
<area shape="poly" title=" " alt="" coords="1237,115,1152,135,1110,149,1072,166,1042,186,1023,209,1018,221,1017,234,1020,249,1028,264,1054,296,1082,315,1113,326,1145,332,1214,344,1250,359,1286,385,1310,415,1327,446,1322,448,1306,418,1282,389,1247,364,1213,349,1144,337,1112,331,1080,320,1050,300,1023,267,1015,250,1012,235,1013,220,1018,206,1038,182,1070,161,1108,144,1151,130,1236,110"/>
<area shape="rect" title=" " alt="" coords="684,533,769,559"/>
<area shape="poly" title=" " alt="" coords="1237,110,1030,133,901,152,767,175,638,202,521,235,425,273,389,293,361,315,326,357,316,378,309,400,308,421,312,442,322,463,339,483,362,498,396,511,486,528,584,537,671,541,670,547,584,543,485,533,395,516,360,503,336,487,318,466,307,444,303,422,304,399,311,376,322,354,357,311,386,289,423,268,519,230,636,197,766,169,900,147,1029,128,1236,105"/>
<area shape="rect" title=" " alt="" coords="279,533,390,559"/>
<area shape="poly" title=" " alt="" coords="1236,103,923,111,721,120,514,133,320,153,158,178,95,194,48,212,18,231,10,241,8,252,8,400,15,438,34,468,64,492,100,510,141,523,184,532,266,541,265,547,184,538,140,529,98,515,61,496,30,472,10,440,3,401,3,251,6,239,14,227,45,207,94,189,157,173,319,147,513,128,721,115,923,106,1236,98"/>
<area shape="rect" title=" " alt="" coords="1915,533,1995,559"/>
<area shape="poly" title=" " alt="" coords="1398,99,1561,106,1762,118,1954,137,2032,149,2091,164,2127,178,2154,194,2207,238,2246,270,2260,287,2272,312,2288,363,2294,407,2290,428,2283,448,2270,468,2251,487,2233,499,2208,509,2145,525,2009,543,2008,538,2144,520,2207,504,2231,494,2248,483,2266,464,2278,445,2285,426,2288,407,2283,364,2267,314,2255,290,2242,274,2204,242,2151,198,2125,183,2090,169,2031,154,1953,142,1761,123,1561,111,1398,105"/>
<area shape="rect" title=" " alt="" coords="2174,533,2237,559"/>
<area shape="poly" title=" " alt="" coords="1398,100,1662,113,1827,125,1996,140,2153,160,2283,184,2334,198,2372,214,2397,231,2404,241,2407,251,2407,401,2402,428,2390,452,2372,473,2350,491,2300,519,2251,536,2249,531,2297,514,2347,487,2369,470,2386,449,2397,427,2401,400,2401,252,2399,243,2394,235,2370,219,2332,203,2282,189,2152,165,1995,145,1827,130,1661,118,1398,105"/>
<area shape="rect" href="collisionBoxClass_8h.html" title=" " alt="" coords="1891,387,2039,412"/>
<area shape="poly" title=" " alt="" coords="1399,100,1566,110,1768,133,1866,151,1953,174,2023,203,2050,220,2070,238,2080,257,2081,277,2075,297,2063,317,2031,353,1995,381,1992,377,2027,349,2059,314,2070,295,2076,277,2075,259,2066,242,2047,224,2021,208,1952,179,1865,156,1767,139,1565,116,1398,105"/>
<area shape="rect" href="sceneClass_8h.html" title=" " alt="" coords="1264,167,1371,192"/>
<area shape="poly" title=" " alt="" coords="1320,119,1320,153,1315,153,1315,119"/>
<area shape="rect" href="shapeClass_8h.html" title=" " alt="" coords="734,313,842,339"/>
<area shape="poly" title=" " alt="" coords="1237,107,1143,114,1039,126,945,144,908,156,882,169,850,198,826,234,809,270,797,301,792,299,804,268,822,231,846,194,878,164,906,151,943,139,1038,121,1142,109,1236,101"/>
<area shape="rect" href="textureClass_8h.html" title=" " alt="" coords="1699,460,1815,485"/>
<area shape="poly" title=" " alt="" coords="1292,121,1271,142,1255,168,1252,193,1258,224,1274,264,1333,294,1458,347,1717,452,1715,457,1456,352,1331,299,1270,267,1253,225,1247,194,1249,166,1267,138,1289,117"/>
<area shape="rect" title=" " alt="" coords="777,607,839,632"/>
<area shape="poly" title=" " alt="" coords="1594,556,853,617,853,612,1593,550"/>
<area shape="poly" title=" " alt="" coords="1388,483,1596,528,1594,533,1387,488"/>
<area shape="poly" title=" " alt="" coords="1280,483,783,541,783,535,1280,478"/>
<area shape="poly" title=" " alt="" coords="1281,482,1218,488,753,522,404,543,404,538,753,516,1217,483,1280,477"/>
<area shape="rect" title=" " alt="" coords="1304,533,1389,559"/>
<area shape="poly" title=" " alt="" coords="1339,485,1345,519,1340,520,1334,486"/>
<area shape="poly" title=" " alt="" coords="1389,481,1402,483,1683,516,1901,537,1901,543,1682,521,1401,488,1388,486"/>
<area shape="rect" title=" " alt="" coords="1206,533,1279,559"/>
<area shape="poly" title=" " alt="" coords="1322,487,1270,527,1267,523,1318,483"/>
<area shape="poly" title=" " alt="" coords="1389,481,1402,483,1562,498,1782,514,2160,539,2160,545,1781,520,1562,503,1401,488,1388,486"/>
<area shape="poly" title=" " alt="" coords="1958,414,1923,450,1899,470,1873,488,1808,516,1743,534,1742,528,1807,511,1871,483,1896,466,1919,446,1954,411"/>
<area shape="poly" title=" " alt="" coords="1967,413,1959,520,1954,519,1962,412"/>
<area shape="rect" href="geometricClass_8h.html" title=" " alt="" coords="1993,460,2127,485"/>
<area shape="poly" title=" " alt="" coords="1982,410,2035,449,2032,454,1979,414"/>
<area shape="poly" title=" " alt="" coords="1996,488,1740,533,1739,528,1995,483"/>
<area shape="poly" title=" " alt="" coords="2045,488,1984,528,1982,523,2042,483"/>
<area shape="poly" title=" " alt="" coords="1371,178,1533,182,1740,191,1840,198,1926,208,1990,221,2012,229,2026,238,2031,252,2026,266,2012,291,1996,309,1960,332,1921,353,1902,368,1882,388,1866,415,1859,439,1850,463,1830,487,1787,515,1741,532,1739,527,1785,510,1826,483,1845,460,1854,437,1862,413,1878,385,1898,364,1918,349,1957,328,1992,305,2008,288,2022,264,2026,252,2022,242,2010,234,1989,226,1925,214,1839,203,1740,196,1533,187,1371,184"/>
<area shape="poly" title=" " alt="" coords="1306,194,1280,226,1273,245,1274,264,1292,287,1325,324,1358,361,1376,386,1378,403,1375,421,1358,450,1353,448,1370,419,1373,403,1371,388,1354,365,1321,328,1287,291,1270,266,1268,244,1276,223,1302,191"/>
<area shape="poly" title=" " alt="" coords="1264,185,1076,196,821,219,691,236,571,257,471,284,432,299,400,316,361,345,348,363,337,388,331,411,332,432,339,451,350,467,367,482,388,494,439,514,498,528,560,536,670,542,670,548,559,541,497,533,437,519,385,499,364,486,347,471,334,453,327,433,326,411,332,386,344,360,357,342,397,311,429,294,470,279,570,252,690,230,820,213,1075,190,1263,180"/>
<area shape="poly" title=" " alt="" coords="1264,185,891,204,681,220,594,231,529,243,421,266,336,288,298,304,259,324,218,352,172,389,147,412,127,435,120,458,123,470,130,484,150,499,184,512,266,531,265,537,182,517,148,503,126,487,118,472,115,458,123,432,143,408,169,385,215,347,256,319,295,299,334,283,419,261,527,237,593,226,680,215,891,198,1264,180"/>
<area shape="poly" title=" " alt="" coords="1371,180,1714,200,1906,216,1985,226,2044,237,2081,244,2118,246,2185,251,2213,258,2235,271,2250,292,2255,324,2255,401,2254,427,2250,449,2240,468,2222,487,2184,506,2129,522,2009,541,2008,536,2127,516,2182,501,2218,483,2236,465,2245,447,2249,427,2249,401,2249,325,2245,294,2231,275,2211,263,2184,256,2117,252,2080,249,2044,243,1984,232,1905,222,1714,205,1371,186"/>
<area shape="poly" title=" " alt="" coords="1371,178,1540,182,1766,191,1990,209,2082,221,2151,237,2191,249,2222,261,2248,280,2272,312,2283,336,2290,358,2291,379,2289,399,2275,440,2252,487,2227,524,2222,521,2247,484,2270,438,2284,398,2286,379,2284,359,2278,338,2267,315,2244,284,2219,266,2189,254,2150,243,2081,227,1989,214,1766,196,1540,187,1371,184"/>
<area shape="rect" title=" " alt="" coords="1283,240,1351,265"/>
<area shape="poly" title=" " alt="" coords="1320,192,1320,226,1315,226,1315,192"/>
<area shape="rect" title=" " alt="" coords="1376,240,1480,265"/>
<area shape="poly" title=" " alt="" coords="1337,190,1400,230,1397,235,1334,194"/>
<area shape="rect" title=" " alt="" coords="1505,240,1661,265"/>
<area shape="poly" title=" " alt="" coords="1361,189,1527,234,1526,239,1359,195"/>
<area shape="rect" title=" " alt="" coords="1685,240,1902,265"/>
<area shape="poly" title=" " alt="" coords="1371,186,1704,235,1703,241,1371,191"/>
<area shape="rect" href="cameraClass_8h.html" title=" " alt="" coords="1038,240,1157,265"/>
<area shape="poly" title=" " alt="" coords="1283,195,1146,238,1145,233,1281,189"/>
<area shape="rect" href="spriteClass_8h.html" title=" " alt="" coords="660,240,767,265"/>
<area shape="poly" title=" " alt="" coords="1264,190,780,246,780,241,1263,184"/>
<area shape="rect" href="shaderClass_8h.html" title=" " alt="" coords="1081,387,1194,412"/>
<area shape="poly" title=" " alt="" coords="1264,186,1199,192,1128,203,1065,219,1042,230,1027,242,1018,259,1018,277,1024,296,1036,315,1071,349,1108,377,1105,381,1068,353,1032,318,1020,298,1013,278,1013,258,1023,238,1040,225,1063,214,1127,198,1198,187,1264,181"/>
<area shape="rect" href="shaders_8h.html" title=" " alt="" coords="1927,240,2012,265"/>
<area shape="poly" title=" " alt="" coords="1371,181,1602,200,1755,216,1913,237,1912,243,1754,222,1602,206,1370,187"/>
<area shape="rect" href="lightClass_8h.html" title=" " alt="" coords="907,387,1005,412"/>
<area shape="poly" title=" " alt="" coords="1264,187,1197,194,1123,205,1056,221,1030,231,1012,242,989,271,973,307,964,342,960,373,955,372,959,341,968,305,984,269,1009,238,1028,226,1054,216,1122,200,1197,189,1264,182"/>
<area shape="poly" title=" " alt="" coords="1147,263,1225,283,1311,311,1408,340,1486,361,1521,375,1557,394,1593,421,1631,458,1650,488,1660,519,1655,520,1645,490,1627,462,1589,425,1554,399,1519,380,1484,367,1407,345,1310,316,1224,288,1146,268"/>
<area shape="poly" title=" " alt="" coords="1155,263,1205,279,1261,303,1313,338,1336,360,1354,385,1360,401,1360,418,1351,448,1346,447,1355,417,1355,402,1350,388,1332,364,1310,342,1258,308,1203,284,1153,268"/>
<area shape="poly" title=" " alt="" coords="1097,266,1072,334,1049,376,1019,414,918,463,766,530,764,525,915,458,1016,410,1045,373,1067,332,1092,265"/>
<area shape="poly" title=" " alt="" coords="1038,261,878,276,671,302,567,319,472,339,393,363,336,389,308,409,289,430,280,454,285,484,297,505,312,522,308,526,292,508,280,486,275,454,284,427,305,405,333,384,391,358,471,334,566,314,670,296,877,271,1037,256"/>
<area shape="poly" title=" " alt="" coords="1157,256,1417,281,1556,296,1656,311,1801,345,1919,380,1917,385,1799,350,1656,316,1555,301,1417,286,1156,262"/>
<area shape="poly" title=" " alt="" coords="1157,256,1451,281,1610,296,1726,311,1778,316,1825,316,1907,314,1945,318,1981,329,2017,350,2054,385,2063,399,2067,415,2067,446,2062,447,2062,416,2058,401,2050,388,2014,355,1979,334,1944,323,1907,320,1825,322,1777,321,1725,316,1609,302,1451,286,1157,261"/>
<area shape="poly" title=" " alt="" coords="1048,268,852,313,851,308,1047,263"/>
<area shape="poly" title=" " alt="" coords="842,329,1024,347,1137,363,1250,384,1369,415,1485,458,1563,492,1629,525,1627,529,1561,497,1483,462,1368,420,1249,389,1136,368,1023,352,842,334"/>
<area shape="poly" title=" " alt="" coords="843,332,1059,361,1208,384,1266,415,1312,449,1309,453,1263,419,1206,389,1059,366,842,337"/>
<area shape="poly" title=" " alt="" coords="784,340,761,388,743,459,732,520,727,519,737,458,756,386,779,338"/>
<area shape="poly" title=" " alt="" coords="734,335,633,352,577,368,523,389,471,420,424,457,355,525,352,521,421,453,468,415,520,384,575,363,632,347,733,329"/>
<area shape="poly" title=" " alt="" coords="842,328,1878,390,1877,395,842,333"/>
<area shape="rect" title=" " alt="" coords="771,387,882,412"/>
<area shape="poly" title=" " alt="" coords="797,338,816,373,812,376,792,340"/>
<area shape="rect" href="VAO_8h.html" title=" " alt="" coords="533,387,595,412"/>
<area shape="poly" title=" " alt="" coords="753,341,609,387,607,382,751,336"/>
<area shape="rect" href="VBO_8h.html" title=" " alt="" coords="499,460,562,485"/>
<area shape="poly" title=" " alt="" coords="769,341,564,456,562,451,766,337"/>
<area shape="rect" href="EBO_8h.html" title=" " alt="" coords="347,387,408,412"/>
<area shape="poly" title=" " alt="" coords="734,339,422,393,421,388,733,334"/>
<area shape="poly" title=" " alt="" coords="579,410,705,522,702,526,576,414"/>
<area shape="poly" title=" " alt="" coords="547,414,366,528,364,523,544,410"/>
<area shape="poly" title=" " alt="" coords="561,413,544,449,539,447,556,411"/>
<area shape="poly" title=" " alt="" coords="563,483,683,526,681,531,561,488"/>
<area shape="poly" title=" " alt="" coords="500,488,380,531,379,526,498,483"/>
<area shape="poly" title=" " alt="" coords="391,410,432,446,459,466,488,483,534,502,582,517,671,535,670,540,581,522,532,507,485,488,456,471,428,451,387,414"/>
<area shape="poly" title=" " alt="" coords="349,414,318,433,304,446,293,461,290,477,293,492,314,522,309,525,288,495,284,477,288,459,300,442,315,429,346,410"/>
<area shape="poly" title=" " alt="" coords="764,263,1090,336,1317,379,1413,407,1532,458,1589,490,1637,523,1634,527,1586,495,1529,462,1412,412,1315,385,1089,341,763,268"/>
<area shape="poly" title=" " alt="" coords="660,257,490,267,387,279,287,299,242,312,201,328,166,346,139,367,121,391,112,419,115,449,130,484,146,503,170,520,200,536,236,549,321,572,418,589,518,600,614,608,763,615,763,620,613,613,517,606,417,594,320,577,234,554,198,540,167,525,143,507,126,487,110,451,107,418,116,389,135,364,163,342,199,323,240,307,286,294,387,274,490,261,660,252"/>
<area shape="poly" title=" " alt="" coords="746,263,850,298,982,336,1058,348,1119,350,1179,357,1213,367,1251,384,1291,414,1320,447,1316,451,1287,418,1248,389,1211,372,1178,362,1119,355,1057,353,981,341,848,303,744,268"/>
<area shape="poly" title=" " alt="" coords="717,265,728,519,723,520,711,266"/>
<area shape="poly" title=" " alt="" coords="660,256,542,263,470,273,395,291,320,316,250,353,218,375,189,400,163,429,141,461,135,478,138,492,149,504,166,515,213,529,266,537,265,543,212,534,164,519,146,509,134,495,130,478,136,459,159,426,185,397,215,371,247,348,318,312,393,285,469,268,542,257,659,250"/>
<area shape="poly" title=" " alt="" coords="767,257,1878,385,1878,391,766,263"/>
<area shape="poly" title=" " alt="" coords="727,263,768,302,764,306,723,267"/>
<area shape="poly" title=" " alt="" coords="703,268,588,379,584,375,699,264"/>
<area shape="poly" title=" " alt="" coords="681,268,642,285,598,311,556,345,538,365,524,388,519,402,518,417,524,447,518,448,513,417,514,401,519,386,534,362,552,341,595,306,640,281,679,263"/>
<area shape="poly" title=" " alt="" coords="660,262,530,283,469,298,428,316,414,328,403,343,387,375,383,373,399,341,411,325,425,311,468,293,529,277,660,257"/>
<area shape="poly" title=" " alt="" coords="768,259,1061,307,1256,343,1454,384,1593,420,1709,453,1707,459,1591,425,1453,389,1255,348,1060,312,767,264"/>
<area shape="poly" title=" " alt="" coords="1743,488,1690,527,1687,523,1740,483"/>
<area shape="poly" title=" " alt="" coords="1699,481,783,543,783,538,1699,475"/>
<area shape="poly" title=" " alt="" coords="1699,480,404,544,404,539,1699,474"/>
<area shape="poly" title=" " alt="" coords="1790,483,1910,526,1909,531,1788,488"/>
<area shape="poly" title=" " alt="" coords="1816,481,2161,535,2160,540,1815,486"/>
<area shape="poly" title=" " alt="" coords="1170,410,1290,453,1289,458,1168,415"/>
<area shape="poly" title=" " alt="" coords="1111,415,1028,449,924,488,782,532,780,527,922,483,1026,444,1109,410"/>
<area shape="poly" title=" " alt="" coords="1081,414,404,535,403,530,1080,408"/>
<area shape="poly" title=" " alt="" coords="1195,408,1484,457,1902,532,1901,538,1484,463,1194,413"/>
<area shape="poly" title=" " alt="" coords="1161,410,1191,430,1220,458,1234,489,1242,519,1237,521,1229,491,1215,462,1188,434,1158,414"/>
<area shape="poly" title=" " alt="" coords="1192,409,1400,457,1399,462,1191,415"/>
<area shape="rect" title=" " alt="" coords="1043,460,1117,485"/>
<area shape="poly" title=" " alt="" coords="1130,414,1100,451,1096,447,1126,411"/>
<area shape="rect" title=" " alt="" coords="1142,460,1205,485"/>
<area shape="poly" title=" " alt="" coords="1146,411,1164,446,1159,449,1141,414"/>
<area shape="poly" title=" " alt="" coords="965,411,991,448,1010,468,1032,483,1062,492,1115,500,1264,516,1581,538,1580,543,1264,521,1114,506,1061,497,1030,488,1006,472,986,452,960,414"/>
<area shape="poly" title=" " alt="" coords="1006,407,1267,456,1266,461,1005,413"/>
<area shape="poly" title=" " alt="" coords="939,414,758,528,756,523,936,410"/>
<area shape="poly" title=" " alt="" coords="907,415,398,533,397,528,906,409"/>
</map>
</div>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a697650ee78695079a1f5549465584e43" id="r_a697650ee78695079a1f5549465584e43"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="bbopFunc_8cpp.html#a697650ee78695079a1f5549465584e43">bbopInit</a> (int windowX, int windowY, const char *windowName, GLFWwindow *&window)</td></tr>
<tr class="memdesc:a697650ee78695079a1f5549465584e43"><td class="mdescLeft"> </td><td class="mdescRight">Fonction d'initialisation de Bbop Library. <br /></td></tr>
<tr class="separator:a697650ee78695079a1f5549465584e43"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5d733089419e11fe8e926841bbcd1272" id="r_a5d733089419e11fe8e926841bbcd1272"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="bbopFunc_8cpp.html#a5d733089419e11fe8e926841bbcd1272">bbopCleanWindow</a> (GLFWwindow *&window, <a class="el" href="classVector3i.html">Vector3i</a> rgb, float alpha)</td></tr>
<tr class="memdesc:a5d733089419e11fe8e926841bbcd1272"><td class="mdescLeft"> </td><td class="mdescRight">Fonction de nettoyage de la fenêtre. <br /></td></tr>
<tr class="separator:a5d733089419e11fe8e926841bbcd1272"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0d595e2d014b7c5c35460bb922ae1de5" id="r_a0d595e2d014b7c5c35460bb922ae1de5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="bbopFunc_8cpp.html#a0d595e2d014b7c5c35460bb922ae1de5">bbopErrorCheck</a> ()</td></tr>
<tr class="memdesc:a0d595e2d014b7c5c35460bb922ae1de5"><td class="mdescLeft"> </td><td class="mdescRight">Fonction de verification d'erreur d'opengl. <br /></td></tr>
<tr class="separator:a0d595e2d014b7c5c35460bb922ae1de5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a40d4f0ba8ff2d812c2f202bf16a9b75c" id="r_a40d4f0ba8ff2d812c2f202bf16a9b75c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="bbopFunc_8cpp.html#a40d4f0ba8ff2d812c2f202bf16a9b75c">bbopChangeWindowResolution</a> (const <a class="el" href="classVector2i.html">Vector2i</a> &nWinR)</td></tr>
<tr class="memdesc:a40d4f0ba8ff2d812c2f202bf16a9b75c"><td class="mdescLeft"> </td><td class="mdescRight">Change la resolution de la fenêtre glfw utilisé dans bbopInit. <br /></td></tr>
<tr class="separator:a40d4f0ba8ff2d812c2f202bf16a9b75c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab34f567e75194911da25b61c1f5ee149" id="r_ab34f567e75194911da25b61c1f5ee149"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="bbopFunc_8cpp.html#ab34f567e75194911da25b61c1f5ee149">bbopChangeWindowResolution</a> (int x_, int y_)</td></tr>
<tr class="memdesc:ab34f567e75194911da25b61c1f5ee149"><td class="mdescLeft"> </td><td class="mdescRight">Change la resolution de la fenêtre glfw utilisé dans bbopInit. <br /></td></tr>
<tr class="separator:ab34f567e75194911da25b61c1f5ee149"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a85b9b8cca4e7a224eb3d10e6cde7fdea" id="r_a85b9b8cca4e7a224eb3d10e6cde7fdea"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="bbopFunc_8cpp.html#a85b9b8cca4e7a224eb3d10e6cde7fdea">bbopChangeWindowSize</a> (const <a class="el" href="classVector2i.html">Vector2i</a> &nWinS)</td></tr>
<tr class="memdesc:a85b9b8cca4e7a224eb3d10e6cde7fdea"><td class="mdescLeft"> </td><td class="mdescRight">Change la taille de la fenêtre glfw utilisé dans bbopInit. <br /></td></tr>
<tr class="separator:a85b9b8cca4e7a224eb3d10e6cde7fdea"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6039f6e9194b368ffb8e647a43d03ac9" id="r_a6039f6e9194b368ffb8e647a43d03ac9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="bbopFunc_8cpp.html#a6039f6e9194b368ffb8e647a43d03ac9">bbopChangeWindowSize</a> (int x_, int y_)</td></tr>
<tr class="memdesc:a6039f6e9194b368ffb8e647a43d03ac9"><td class="mdescLeft"> </td><td class="mdescRight">Change la taille de la fenêtre glfw utilisé dans bbopInit. <br /></td></tr>
<tr class="separator:a6039f6e9194b368ffb8e647a43d03ac9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adb58533b6c571ff05497756cc224b28a" id="r_adb58533b6c571ff05497756cc224b28a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="bbopFunc_8cpp.html#adb58533b6c571ff05497756cc224b28a">bbopDebugCollisionBox</a> (const <a class="el" href="classCollisionBox.html">CollisionBox</a> &box, <a class="el" href="classScene.html">Scene</a> &scene)</td></tr>
<tr class="memdesc:adb58533b6c571ff05497756cc224b28a"><td class="mdescLeft"> </td><td class="mdescRight">Debug de collision en affichant une box. <br /></td></tr>
<tr class="separator:adb58533b6c571ff05497756cc224b28a"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="a40d4f0ba8ff2d812c2f202bf16a9b75c" name="a40d4f0ba8ff2d812c2f202bf16a9b75c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a40d4f0ba8ff2d812c2f202bf16a9b75c">◆ </a></span>bbopChangeWindowResolution() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void bbopChangeWindowResolution </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classVector2i.html">Vector2i</a> & </td>
<td class="paramname"><em>nWinR</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Change la resolution de la fenêtre glfw utilisé dans bbopInit. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">wWinR</td><td>Nouvelle resolution de la fenêtre</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="bbopFunc_8h.html#a697650ee78695079a1f5549465584e43" title="Fonction d'initialisation de Bbop Library.">bbopInit</a> </dd></dl>
</div>
</div>
<a id="ab34f567e75194911da25b61c1f5ee149" name="ab34f567e75194911da25b61c1f5ee149"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab34f567e75194911da25b61c1f5ee149">◆ </a></span>bbopChangeWindowResolution() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void bbopChangeWindowResolution </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>x_</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>y_</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Change la resolution de la fenêtre glfw utilisé dans bbopInit. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">x_</td><td>resolution x </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">y_</td><td>resolution y </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a85b9b8cca4e7a224eb3d10e6cde7fdea" name="a85b9b8cca4e7a224eb3d10e6cde7fdea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a85b9b8cca4e7a224eb3d10e6cde7fdea">◆ </a></span>bbopChangeWindowSize() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void bbopChangeWindowSize </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classVector2i.html">Vector2i</a> & </td>
<td class="paramname"><em>nWinS</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Change la taille de la fenêtre glfw utilisé dans bbopInit. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">wWinS</td><td>Nouvelle taille de la fenêtre</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="bbopFunc_8h.html#a697650ee78695079a1f5549465584e43" title="Fonction d'initialisation de Bbop Library.">bbopInit</a> </dd></dl>
</div>
</div>
<a id="a6039f6e9194b368ffb8e647a43d03ac9" name="a6039f6e9194b368ffb8e647a43d03ac9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6039f6e9194b368ffb8e647a43d03ac9">◆ </a></span>bbopChangeWindowSize() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void bbopChangeWindowSize </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>x_</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>y_</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Change la taille de la fenêtre glfw utilisé dans bbopInit. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">x_</td><td>taille x </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">y_</td><td>taille y </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a5d733089419e11fe8e926841bbcd1272" name="a5d733089419e11fe8e926841bbcd1272"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5d733089419e11fe8e926841bbcd1272">◆ </a></span>bbopCleanWindow()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void bbopCleanWindow </td>
<td>(</td>
<td class="paramtype">GLFWwindow *& </td>
<td class="paramname"><em>window</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classVector3i.html">Vector3i</a> </td>
<td class="paramname"><em>rgb</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>alpha</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Fonction de nettoyage de la fenêtre. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">window</td><td>Fenêtre à nettoyer </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">rgb</td><td>Couleur de fond de la fenêtre </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">alpha</td><td>Transaprence du nettoyage </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="adb58533b6c571ff05497756cc224b28a" name="adb58533b6c571ff05497756cc224b28a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adb58533b6c571ff05497756cc224b28a">◆ </a></span>bbopDebugCollisionBox()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void bbopDebugCollisionBox </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classCollisionBox.html">CollisionBox</a> & </td>
<td class="paramname"><em>box</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classScene.html">Scene</a> & </td>
<td class="paramname"><em>scene</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Debug de collision en affichant une box. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">box</td><td>Boîte de collision à afficher </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">scene</td><td><a class="el" href="classScene.html" title="Gère la scene et affiche des BbopDrawable.">Scene</a> a utiliser pour afficher la box</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classCollisionBox.html" title="gère une boîte de collision">CollisionBox</a> </dd></dl>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000003">Todo:</a></b></dt><dd>Optimiser cette méthode terriblement lente </dd></dl>
</div>
</div>
<a id="a0d595e2d014b7c5c35460bb922ae1de5" name="a0d595e2d014b7c5c35460bb922ae1de5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0d595e2d014b7c5c35460bb922ae1de5">◆ </a></span>bbopErrorCheck()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void bbopErrorCheck </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Fonction de verification d'erreur d'opengl. </p>
<p>Affiche toutes les erreurs acumulées dans le cache opengl </p>
</div>
</div>
<a id="a697650ee78695079a1f5549465584e43" name="a697650ee78695079a1f5549465584e43"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a697650ee78695079a1f5549465584e43">◆ </a></span>bbopInit()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int bbopInit </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>windowX</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>windowY</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>windowName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GLFWwindow *& </td>
<td class="paramname"><em>window</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Fonction d'initialisation de Bbop Library. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">windowX</td><td>Taille x de la fenêtre </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">windowY</td><td>Taille y de la fenêtre </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">windowName</td><td>Nom de la fenêtre </td></tr>
<tr><td class="paramdir">[in,out]</td><td class="paramname">window</td><td>Fenêtre glfw à utiliser</td></tr>
</table>
</dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>window dois-être un pointeur</dd></dl>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000002">Todo:</a></b></dt><dd>Ajouter le paramétrage du uberShader </dd></dl>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>