aboutsummaryrefslogtreecommitdiff
path: root/docs/source_docs/files/bt_aligned_object_array_8h.html
blob: ddc5b7428a16a579ebf62bc681d22ce3d7fc8885 (plain) (blame)
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
<html>
	<head>
		<title>NVIDIA(R) Blast(R) SDK 1.1 Source Reference: sdk/extensions/authoring/source/VHACD/inc/btAlignedObjectArray.h File Reference</title>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
		<LINK HREF="NVIDIA.css" REL="stylesheet" TYPE="text/css">
	</head>

	<body bgcolor="#FFFFFF">
		<div id="header">
			<hr class="first">
			<img alt="" src="blast_logo.png">
			<br>
			<center>
				<a class="qindex" href="main.html">Main Page</a> &nbsp; 
				<!-- <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; //-->
				<a class="qindex" href="annotated.html">Class List</a> &nbsp; 
				<a class="qindex" href="functions.html">Class Members</a> &nbsp;  
			</center>
			<hr class="second">
		</div>
<!-- Generated by Doxygen 1.5.8 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>User's&nbsp;Guide</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>sdk/extensions/authoring/source/VHACD/inc/btAlignedObjectArray.h File Reference</h1><code>#include &quot;<a class="el" href="bt_aligned_allocator_8h-source.html">btAlignedAllocator.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="bt_scalar_8h-source.html">btScalar.h</a>&quot;</code><br>
<code>#include &lt;new&gt;</code><br>

<p>
<a href="bt_aligned_object_array_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Classes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray&lt; T &gt;</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbt_aligned_object_array_1_1less.html">btAlignedObjectArray&lt; T &gt;::btAlignedObjectArray::less</a></td></tr>

<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="bt_aligned_object_array_8h.html#f679f7a130fd285561d684b76238ecd4">BT_ALLOW_ARRAY_COPY_OPERATOR</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="bt_aligned_object_array_8h.html#bbaa34c72a791d366573e6e25e0bf702">BT_USE_PLACEMENT_NEW</a>&nbsp;&nbsp;&nbsp;1</td></tr>

</table>
<hr><h2>Define Documentation</h2>
<a class="anchor" name="f679f7a130fd285561d684b76238ecd4"></a><!-- doxytag: member="btAlignedObjectArray.h::BT_ALLOW_ARRAY_COPY_OPERATOR" ref="f679f7a130fd285561d684b76238ecd4" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BT_ALLOW_ARRAY_COPY_OPERATOR          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="bbaa34c72a791d366573e6e25e0bf702"></a><!-- doxytag: member="btAlignedObjectArray.h::BT_USE_PLACEMENT_NEW" ref="bbaa34c72a791d366573e6e25e0bf702" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BT_USE_PLACEMENT_NEW&nbsp;&nbsp;&nbsp;1          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
If the platform doesn't support placement new, you can disable BT_USE_PLACEMENT_NEW then the <a class="el" href="classbt_aligned_object_array.html">btAlignedObjectArray</a> doesn't support objects with virtual methods, and non-trivial constructors/destructors You can enable BT_USE_MEMCPY, then swapping elements in the array will use memcpy instead of operator= see discussion here: <a href="http://continuousphysics.com/Bullet/phpBB2/viewtopic.php?t=1231">http://continuousphysics.com/Bullet/phpBB2/viewtopic.php?t=1231</a> and <a href="http://www.continuousphysics.com/Bullet/phpBB2/viewtopic.php?t=1240">http://www.continuousphysics.com/Bullet/phpBB2/viewtopic.php?t=1240</a> 
</div>
</div><p>
</div>
<!-- start footer part -->
<div class="footer">
Copyright &copy; 2015-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. <a href="http://www.nvidia.com ">www.nvidia.com</a>
</div>
</body>
</html>