Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
Qtquick3d Assimp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jonas Karlsson
Qtquick3d Assimp
Commits
f3d70233
"README.md" did not exist on "e81cfa6e70e96ad23063dd77327fe9d34f23162d"
Commit
f3d70233
authored
7 years ago
by
Turo Lamminen
Browse files
Options
Downloads
Patches
Plain Diff
ASE: Add Light constructor which takes name
parent
17f801ae
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
code/ASEParser.h
+13
-0
13 additions, 0 deletions
code/ASEParser.h
with
13 additions
and
0 deletions
code/ASEParser.h
+
13
−
0
View file @
f3d70233
...
...
@@ -369,6 +369,19 @@ struct Light : public BaseNode
{
}
//! Construction from an existing name
explicit
Light
(
const
std
::
string
&
name
)
:
BaseNode
(
BaseNode
::
Light
,
name
)
,
mLightType
(
OMNI
)
,
mColor
(
1.
f
,
1.
f
,
1.
f
)
,
mIntensity
(
1.
f
)
// light is white by default
,
mAngle
(
45.
f
)
,
mFalloff
(
0.
f
)
{
}
LightType
mLightType
;
aiColor3D
mColor
;
ai_real
mIntensity
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment