mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 15:13:41 +02:00
code review fix
This commit is contained in:
parent
2d4194cae5
commit
4b7ba08932
1 changed files with 5 additions and 5 deletions
|
@ -29,15 +29,15 @@ Hair::Hair(int strands,
|
|||
float radius,
|
||||
float linkLength,
|
||||
float hairThickness) :
|
||||
_strands(strands),
|
||||
_links(links),
|
||||
_linkLength(linkLength),
|
||||
_hairThickness(hairThickness),
|
||||
_radius(radius),
|
||||
_acceleration(0.0f),
|
||||
_angularVelocity(0.0f),
|
||||
_gravity(0.0f)
|
||||
{
|
||||
_strands = strands;
|
||||
_links = links;
|
||||
_radius = radius;
|
||||
_linkLength = linkLength;
|
||||
_hairThickness = hairThickness;
|
||||
_hairPosition = new glm::vec3[_strands * _links];
|
||||
_hairOriginalPosition = new glm::vec3[_strands * _links];
|
||||
_hairLastPosition = new glm::vec3[_strands * _links];
|
||||
|
|
Loading…
Reference in a new issue