Skip to content

Commit 5cf8b44

Browse files
committed
document mpr::solidcube::supportpoint
1 parent 9970f33 commit 5cf8b44

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/engine/world/mpr.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,16 @@ namespace mpr
5050
* @return vec containing sum of o, size/2
5151
*/
5252
vec center() const;
53+
54+
/**
55+
* @brief Returns o added to size in channels specified by passed vec.
56+
*
57+
* For fields in n that are greater than zero, adds size to that field in
58+
* o. The values of n are irrelevant other than whether they are greater
59+
* than zero.
60+
*
61+
* @return vec containing values of o conditionally summed with size
62+
*/
5363
vec supportpoint(const vec &n) const;
5464
};
5565

0 commit comments

Comments
 (0)