MCPcopy Create free account
hub / github.com/cinder/Cinder / include

Function include

include/cinder/AxisAlignedBox.h:60–65  ·  view source on GitHub ↗

Expands the box so that it contains \a point.

Source from the content-addressed store, hash-verified

58
59 //! Expands the box so that it contains \a point.
60 void include( const vec3 &point )
61 {
62 vec3 min = glm::min( getMin(), point );
63 vec3 max = glm::max( getMax(), point );
64 set( min, max );
65 }
66
67 //! Expands the box so that it contains \a box.
68 void include( const AxisAlignedBox &box )

Callers 3

RectTMethod · 0.85
includeMethod · 0.85
includeMethod · 0.85

Calls 5

getMinFunction · 0.85
getMaxFunction · 0.85
minFunction · 0.70
maxFunction · 0.70
setFunction · 0.70

Tested by

no test coverage detected