File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -31,47 +31,47 @@ struct BoundingBoxBase
3131 // / <summary>
3232 // / Minimum X coordinate of this BoundingBox
3333 // / </summary>
34- float Left () const
34+ T Left () const
3535 {
3636 return center.x - (size.x / 2 );
3737 }
3838
3939 // / <summary>
4040 // / Maximum X coordinate of this BoundingBox
4141 // / </summary>
42- float Right () const
42+ T Right () const
4343 {
4444 return center.x + (size.x / 2 );
4545 }
4646
4747 // / <summary>
4848 // / Minimum Y coordinate of this BoundingBox
4949 // / </summary>
50- float Bottom () const
50+ T Bottom () const
5151 {
5252 return center.y - (size.y / 2 );
5353 }
5454
5555 // / <summary>
5656 // / Maximum Y coordinate of this BoundingBox
5757 // / </summary>
58- float Top () const
58+ T Top () const
5959 {
6060 return center.y + (size.y / 2 );
6161 }
6262
6363 // / <summary>
6464 // / Minimum Z coordinate of this BoundingBox
6565 // / </summary>
66- float Back () const
66+ T Back () const
6767 {
6868 return center.z - (size.z / 2 );
6969 }
7070
7171 // / <summary>
7272 // / Maximum Z coordinate of this BoundingBox
7373 // / </summary>
74- float Front () const
74+ T Front () const
7575 {
7676 return center.z + (size.z / 2 );
7777 }
You can’t perform that action at this time.
0 commit comments