This website works better with JavaScript.
Home
Explore
Help
Sign In
antkeeper
/
source
Watch
1
Star
0
Fork
0
Code
Issues
8
Pull Requests
0
Releases
0
Activity
Browse Source
Add briefs for classes in the geom namespace
master
C. J. Howard
3 years ago
parent
db5fb5ac3b
commit
7d62eeabae
6 changed files
with
16 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
src/geom/aabb.hpp
+3
-0
src/geom/plane.hpp
+3
-0
src/geom/ray.hpp
+3
-0
src/geom/sphere.hpp
+3
-0
src/geom/view-frustum.hpp
+1
-1
src/platform/windows/nvidia.cpp
+ 3
- 0
src/geom/aabb.hpp
View File
@ -27,6 +27,9 @@
namespace
geom
{
/**
*
Axis
-
aligned
bounding
box
.
*/
template
<
class
T
>
struct
aabb
:
public
bounding_volume
<
T
>
{
+ 3
- 0
src/geom/plane.hpp
View File
@ -24,6 +24,9 @@
namespace
geom
{
/**
*
A
flat
2
-
dimensional
surface
.
*/
template
<
class
T
>
struct
plane
{
+ 3
- 0
src/geom/ray.hpp
View File
@ -24,6 +24,9 @@
namespace
geom
{
/**
*
Half
of
a
line
proceeding
from
an
initial
point
.
*/
template
<
class
T
>
struct
ray
{
+ 3
- 0
src/geom/sphere.hpp
View File
@ -27,6 +27,9 @@
namespace
geom
{
/**
*
Bounding
sphere
.
*/
template
<
class
T
>
struct
sphere
:
public
bounding_volume
<
T
>
{
+ 3
- 0
src/geom/view-frustum.hpp
View File
@ -26,6 +26,9 @@
namespace
geom
{
/**
*
View
frustum
.
*/
template
<
class
T
>
class
view_frustum
{
+ 1
- 1
src/platform/windows/nvidia.cpp
View File
@ -20,8 +20,8 @@
#
define WIN32_LEAN_AND_MEAN
#
include
<windows.h>
// Direct Nvidia Optimus to use high-performance graphics
extern
"
C
"
{
// Direct Nvidia Optimus to use high-performance graphics
_declspec
(
dllexport
)
DWORD
NvOptimusEnablement
=
0x00000001
;
}
Write
Preview
Loading…
Cancel
Save