mirror of
https://github.com/allankoechke/raylib-cpp.git
synced 2026-11-30 10:59:00 +00:00
534 lines
26 KiB
HTML
534 lines
26 KiB
HTML
<!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">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.17"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>raylib-cpp: raylib::BoundingBox Class 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" />
|
|
</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 style="height: 56px;">
|
|
<td id="projectlogo"><img alt="Logo" src="raylib-cpp_55x55.png"/></td>
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">raylib-cpp
|
|
</div>
|
|
<div id="projectbrief">C++ object-oriented wrapper library for raylib.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.17 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
/* @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:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(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">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="namespaceraylib.html">raylib</a></li><li class="navelem"><a class="el" href="classraylib_1_1_bounding_box.html">BoundingBox</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pro-methods">Protected Member Functions</a> |
|
|
<a href="classraylib_1_1_bounding_box-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">raylib::BoundingBox Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>Bounding box type.
|
|
<a href="classraylib_1_1_bounding_box.html#details">More...</a></p>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:a38e3bea9be0194354ce06de9a1c1ce5c"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classraylib_1_1_bounding_box.html#a38e3bea9be0194354ce06de9a1c1ce5c">BoundingBox</a> (::<a class="el" href="classraylib_1_1_vector3.html">Vector3</a> Min, ::<a class="el" href="classraylib_1_1_vector3.html">Vector3</a> Max)</td></tr>
|
|
<tr class="separator:a38e3bea9be0194354ce06de9a1c1ce5c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a2d5d6d98333d7a2e15b3703b1c383fe9"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classraylib_1_1_bounding_box.html#a2d5d6d98333d7a2e15b3703b1c383fe9">BoundingBox</a> (const ::<a class="el" href="classraylib_1_1_bounding_box.html">BoundingBox</a> &box)</td></tr>
|
|
<tr class="separator:a2d5d6d98333d7a2e15b3703b1c383fe9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8417253000c9381b4afc1869d5e3a611"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classraylib_1_1_bounding_box.html#a8417253000c9381b4afc1869d5e3a611">BoundingBox</a> (const ::<a class="el" href="classraylib_1_1_mesh.html">Mesh</a> &mesh)</td></tr>
|
|
<tr class="memdesc:a8417253000c9381b4afc1869d5e3a611"><td class="mdescLeft"> </td><td class="mdescRight">Compute mesh bounding box limits. <a href="classraylib_1_1_bounding_box.html#a8417253000c9381b4afc1869d5e3a611">More...</a><br /></td></tr>
|
|
<tr class="separator:a8417253000c9381b4afc1869d5e3a611"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4ebef66c3050ab310652c7eac6ce404b"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classraylib_1_1_bounding_box.html#a4ebef66c3050ab310652c7eac6ce404b">CheckCollision</a> (::<a class="el" href="classraylib_1_1_vector3.html">Vector3</a> center, float radius) const</td></tr>
|
|
<tr class="memdesc:a4ebef66c3050ab310652c7eac6ce404b"><td class="mdescLeft"> </td><td class="mdescRight">Detect collision between box and sphere. <a href="classraylib_1_1_bounding_box.html#a4ebef66c3050ab310652c7eac6ce404b">More...</a><br /></td></tr>
|
|
<tr class="separator:a4ebef66c3050ab310652c7eac6ce404b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae21846f1721a949de28e6bff5a0217d2"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classraylib_1_1_bounding_box.html#ae21846f1721a949de28e6bff5a0217d2">CheckCollision</a> (const ::<a class="el" href="classraylib_1_1_bounding_box.html">BoundingBox</a> &box2) const</td></tr>
|
|
<tr class="memdesc:ae21846f1721a949de28e6bff5a0217d2"><td class="mdescLeft"> </td><td class="mdescRight">Detect collision between two boxes. <a href="classraylib_1_1_bounding_box.html#ae21846f1721a949de28e6bff5a0217d2">More...</a><br /></td></tr>
|
|
<tr class="separator:ae21846f1721a949de28e6bff5a0217d2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aee231bf2caca8ab6e4cb6be1f93874c3"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classraylib_1_1_bounding_box.html#aee231bf2caca8ab6e4cb6be1f93874c3">CheckCollision</a> (const ::<a class="el" href="classraylib_1_1_ray.html">Ray</a> &ray) const</td></tr>
|
|
<tr class="memdesc:aee231bf2caca8ab6e4cb6be1f93874c3"><td class="mdescLeft"> </td><td class="mdescRight">Detect collision between ray and bounding box. <a href="classraylib_1_1_bounding_box.html#aee231bf2caca8ab6e4cb6be1f93874c3">More...</a><br /></td></tr>
|
|
<tr class="separator:aee231bf2caca8ab6e4cb6be1f93874c3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aae0a66351992f36372ef68a6d4508c62"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classraylib_1_1_bounding_box.html">BoundingBox</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classraylib_1_1_bounding_box.html#aae0a66351992f36372ef68a6d4508c62">Draw</a> (::<a class="el" href="classraylib_1_1_color.html">Color</a> color={255, 255, 255, 255})</td></tr>
|
|
<tr class="memdesc:aae0a66351992f36372ef68a6d4508c62"><td class="mdescLeft"> </td><td class="mdescRight">Draw a bounding box with wires. <a href="classraylib_1_1_bounding_box.html#aae0a66351992f36372ef68a6d4508c62">More...</a><br /></td></tr>
|
|
<tr class="separator:aae0a66351992f36372ef68a6d4508c62"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a74e4859287d3eabadcf595c46e075468"><td class="memItemLeft" align="right" valign="top">inline ::<a class="el" href="classraylib_1_1_vector3.html">Vector3</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classraylib_1_1_bounding_box.html#a74e4859287d3eabadcf595c46e075468">GetMax</a> () const</td></tr>
|
|
<tr class="separator:a74e4859287d3eabadcf595c46e075468"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a749d1d79bda4641d74c4325377dcac09"><td class="memItemLeft" align="right" valign="top">inline ::<a class="el" href="classraylib_1_1_vector3.html">Vector3</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classraylib_1_1_bounding_box.html#a749d1d79bda4641d74c4325377dcac09">GetMin</a> () const</td></tr>
|
|
<tr class="separator:a749d1d79bda4641d74c4325377dcac09"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a85f934c42bef7a6d336e6215f2daf0b0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classraylib_1_1_bounding_box.html">BoundingBox</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classraylib_1_1_bounding_box.html#a85f934c42bef7a6d336e6215f2daf0b0">operator=</a> (const ::<a class="el" href="classraylib_1_1_bounding_box.html">BoundingBox</a> &box)</td></tr>
|
|
<tr class="separator:a85f934c42bef7a6d336e6215f2daf0b0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6c58c71a3be8e2b821c4fb0be3b176f1"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classraylib_1_1_bounding_box.html#a6c58c71a3be8e2b821c4fb0be3b176f1">SetMax</a> (::<a class="el" href="classraylib_1_1_vector3.html">Vector3</a> value)</td></tr>
|
|
<tr class="separator:a6c58c71a3be8e2b821c4fb0be3b176f1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a57afef6e7f3e032f3d804ec228ca4ff1"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classraylib_1_1_bounding_box.html#a57afef6e7f3e032f3d804ec228ca4ff1">SetMin</a> (::<a class="el" href="classraylib_1_1_vector3.html">Vector3</a> value)</td></tr>
|
|
<tr class="separator:a57afef6e7f3e032f3d804ec228ca4ff1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
|
|
Protected Member Functions</h2></td></tr>
|
|
<tr class="memitem:a689f19a02b0d9a0d8c253ea0859be649"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classraylib_1_1_bounding_box.html#a689f19a02b0d9a0d8c253ea0859be649">set</a> (const ::<a class="el" href="classraylib_1_1_bounding_box.html">BoundingBox</a> &box)</td></tr>
|
|
<tr class="separator:a689f19a02b0d9a0d8c253ea0859be649"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>Bounding box type. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_bounding_box_8hpp_source.html#l00035">35</a> of file <a class="el" href="_bounding_box_8hpp_source.html">BoundingBox.hpp</a>.</p>
|
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a id="a2d5d6d98333d7a2e15b3703b1c383fe9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a2d5d6d98333d7a2e15b3703b1c383fe9">◆ </a></span>BoundingBox() <span class="overload">[1/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">raylib::BoundingBox::BoundingBox </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const ::<a class="el" href="classraylib_1_1_bounding_box.html">BoundingBox</a> & </td>
|
|
<td class="paramname"><em>box</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_bounding_box_8hpp_source.html#l00037">37</a> of file <a class="el" href="_bounding_box_8hpp_source.html">BoundingBox.hpp</a>.</p>
|
|
|
|
<p class="reference">References <a class="el" href="_bounding_box_8hpp_source.html#l00091">set()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a8417253000c9381b4afc1869d5e3a611"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8417253000c9381b4afc1869d5e3a611">◆ </a></span>BoundingBox() <span class="overload">[2/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">raylib::BoundingBox::BoundingBox </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const ::<a class="el" href="classraylib_1_1_mesh.html">Mesh</a> & </td>
|
|
<td class="paramname"><em>mesh</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Compute mesh bounding box limits. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_bounding_box_8hpp_source.html#l00044">44</a> of file <a class="el" href="_bounding_box_8hpp_source.html">BoundingBox.hpp</a>.</p>
|
|
|
|
<p class="reference">References <a class="el" href="_bounding_box_8hpp_source.html#l00091">set()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a38e3bea9be0194354ce06de9a1c1ce5c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a38e3bea9be0194354ce06de9a1c1ce5c">◆ </a></span>BoundingBox() <span class="overload">[3/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">raylib::BoundingBox::BoundingBox </td>
|
|
<td>(</td>
|
|
<td class="paramtype">::<a class="el" href="classraylib_1_1_vector3.html">Vector3</a> </td>
|
|
<td class="paramname"><em>Min</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">::<a class="el" href="classraylib_1_1_vector3.html">Vector3</a> </td>
|
|
<td class="paramname"><em>Max</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_bounding_box_8hpp_source.html#l00048">48</a> of file <a class="el" href="_bounding_box_8hpp_source.html">BoundingBox.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a id="a4ebef66c3050ab310652c7eac6ce404b"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4ebef66c3050ab310652c7eac6ce404b">◆ </a></span>CheckCollision() <span class="overload">[1/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool raylib::BoundingBox::CheckCollision </td>
|
|
<td>(</td>
|
|
<td class="paramtype">::<a class="el" href="classraylib_1_1_vector3.html">Vector3</a> </td>
|
|
<td class="paramname"><em>center</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">float </td>
|
|
<td class="paramname"><em>radius</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Detect collision between box and sphere. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_bounding_box_8hpp_source.html#l00079">79</a> of file <a class="el" href="_bounding_box_8hpp_source.html">BoundingBox.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ae21846f1721a949de28e6bff5a0217d2"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae21846f1721a949de28e6bff5a0217d2">◆ </a></span>CheckCollision() <span class="overload">[2/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool raylib::BoundingBox::CheckCollision </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const ::<a class="el" href="classraylib_1_1_bounding_box.html">BoundingBox</a> & </td>
|
|
<td class="paramname"><em>box2</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Detect collision between two boxes. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_bounding_box_8hpp_source.html#l00072">72</a> of file <a class="el" href="_bounding_box_8hpp_source.html">BoundingBox.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aee231bf2caca8ab6e4cb6be1f93874c3"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aee231bf2caca8ab6e4cb6be1f93874c3">◆ </a></span>CheckCollision() <span class="overload">[3/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool raylib::BoundingBox::CheckCollision </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const ::<a class="el" href="classraylib_1_1_ray.html">Ray</a> & </td>
|
|
<td class="paramname"><em>ray</em></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Detect collision between ray and bounding box. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_bounding_box_8hpp_source.html#l00086">86</a> of file <a class="el" href="_bounding_box_8hpp_source.html">BoundingBox.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aae0a66351992f36372ef68a6d4508c62"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aae0a66351992f36372ef68a6d4508c62">◆ </a></span>Draw()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classraylib_1_1_bounding_box.html">BoundingBox</a>& raylib::BoundingBox::Draw </td>
|
|
<td>(</td>
|
|
<td class="paramtype">::<a class="el" href="classraylib_1_1_color.html">Color</a> </td>
|
|
<td class="paramname"><em>color</em> = <code>{255, 255, 255, 255}</code></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Draw a bounding box with wires. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_bounding_box_8hpp_source.html#l00064">64</a> of file <a class="el" href="_bounding_box_8hpp_source.html">BoundingBox.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a74e4859287d3eabadcf595c46e075468"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a74e4859287d3eabadcf595c46e075468">◆ </a></span>GetMax()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">inline ::<a class="el" href="classraylib_1_1_vector3.html">Vector3</a> raylib::BoundingBox::GetMax </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_bounding_box_8hpp_source.html#l00054">54</a> of file <a class="el" href="_bounding_box_8hpp_source.html">BoundingBox.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a749d1d79bda4641d74c4325377dcac09"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a749d1d79bda4641d74c4325377dcac09">◆ </a></span>GetMin()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">inline ::<a class="el" href="classraylib_1_1_vector3.html">Vector3</a> raylib::BoundingBox::GetMin </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_bounding_box_8hpp_source.html#l00053">53</a> of file <a class="el" href="_bounding_box_8hpp_source.html">BoundingBox.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a85f934c42bef7a6d336e6215f2daf0b0"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a85f934c42bef7a6d336e6215f2daf0b0">◆ </a></span>operator=()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classraylib_1_1_bounding_box.html">BoundingBox</a>& raylib::BoundingBox::operator= </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const ::<a class="el" href="classraylib_1_1_bounding_box.html">BoundingBox</a> & </td>
|
|
<td class="paramname"><em>box</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_bounding_box_8hpp_source.html#l00056">56</a> of file <a class="el" href="_bounding_box_8hpp_source.html">BoundingBox.hpp</a>.</p>
|
|
|
|
<p class="reference">References <a class="el" href="_bounding_box_8hpp_source.html#l00091">set()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a689f19a02b0d9a0d8c253ea0859be649"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a689f19a02b0d9a0d8c253ea0859be649">◆ </a></span>set()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void raylib::BoundingBox::set </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const ::<a class="el" href="classraylib_1_1_bounding_box.html">BoundingBox</a> & </td>
|
|
<td class="paramname"><em>box</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_bounding_box_8hpp_source.html#l00091">91</a> of file <a class="el" href="_bounding_box_8hpp_source.html">BoundingBox.hpp</a>.</p>
|
|
|
|
<p class="reference">Referenced by <a class="el" href="_bounding_box_8hpp_source.html#l00037">BoundingBox()</a>, and <a class="el" href="_bounding_box_8hpp_source.html#l00056">operator=()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a6c58c71a3be8e2b821c4fb0be3b176f1"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6c58c71a3be8e2b821c4fb0be3b176f1">◆ </a></span>SetMax()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void raylib::BoundingBox::SetMax </td>
|
|
<td>(</td>
|
|
<td class="paramtype">::<a class="el" href="classraylib_1_1_vector3.html">Vector3</a> </td>
|
|
<td class="paramname"><em>value</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_bounding_box_8hpp_source.html#l00054">54</a> of file <a class="el" href="_bounding_box_8hpp_source.html">BoundingBox.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a57afef6e7f3e032f3d804ec228ca4ff1"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a57afef6e7f3e032f3d804ec228ca4ff1">◆ </a></span>SetMin()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void raylib::BoundingBox::SetMin </td>
|
|
<td>(</td>
|
|
<td class="paramtype">::<a class="el" href="classraylib_1_1_vector3.html">Vector3</a> </td>
|
|
<td class="paramname"><em>value</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="_bounding_box_8hpp_source.html#l00053">53</a> of file <a class="el" href="_bounding_box_8hpp_source.html">BoundingBox.hpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated on Sun Feb 14 2021 16:32:47 for raylib-cpp by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.17
|
|
</small></address>
|
|
</body>
|
|
</html>
|