Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
Type-Light
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenFlipper-Free
Type-Light
Commits
8adae493
Commit
8adae493
authored
Jun 28, 2019
by
Jan Möbius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Missing overrides
parent
02bfbf71
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
ObjectTypes/Light/LightNode.hh
ObjectTypes/Light/LightNode.hh
+6
-6
No files found.
ObjectTypes/Light/LightNode.hh
View file @
8adae493
...
...
@@ -272,19 +272,19 @@ public:
ACG_CLASSNAME
(
LightNode
);
/// Get bounding box (for visualization purposes)
void
boundingBox
(
ACG
::
Vec3d
&
/* _bbMin */
,
ACG
::
Vec3d
&
/*_bbMax*/
);
void
boundingBox
(
ACG
::
Vec3d
&
/* _bbMin */
,
ACG
::
Vec3d
&
/*_bbMax*/
)
override
;
/// set current Light Sources
void
enter
(
GLState
&
_state
,
const
DrawModes
::
DrawMode
&
_drawmode
);
void
enter
(
GLState
&
_state
,
const
DrawModes
::
DrawMode
&
_drawmode
)
override
;
/// restores original Light Sources
void
leave
(
GLState
&
_state
,
const
DrawModes
::
DrawMode
&
_drawmode
);
void
leave
(
GLState
&
_state
,
const
DrawModes
::
DrawMode
&
_drawmode
)
override
;
/// Draw light source node
void
draw
(
GLState
&
_state
,
const
DrawModes
::
DrawMode
&
_drawMode
);
void
draw
(
GLState
&
_state
,
const
DrawModes
::
DrawMode
&
_drawMode
)
override
;
/// Picking
void
pick
(
GLState
&
_state
,
PickTarget
_target
);
void
pick
(
GLState
&
_state
,
PickTarget
_target
)
override
;
/// Should node be visualized?
bool
visualize
()
{
return
visualize_
;
}
...
...
@@ -294,7 +294,7 @@ public:
/// Add this light to shader render interface
void
getRenderObjects
(
IRenderer
*
_renderer
,
GLState
&
_state
,
const
DrawModes
::
DrawMode
&
_drawMode
,
const
Material
*
_mat
);
void
getRenderObjects
(
IRenderer
*
_renderer
,
GLState
&
_state
,
const
DrawModes
::
DrawMode
&
_drawMode
,
const
Material
*
_mat
)
override
;
private:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment