mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 11:35:20 +02:00
adding normals
This commit is contained in:
parent
9dc6846eba
commit
32eade9ead
3 changed files with 2 additions and 3 deletions
|
@ -11,7 +11,7 @@
|
|||
// Distributed under the Apache License, Version 2.0.
|
||||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||
|
||||
var LINE_DIMENSIONS = 1;
|
||||
var LINE_DIMENSIONS = 5;
|
||||
var LIFETIME = 6000;
|
||||
|
||||
var colorPalette = [{
|
||||
|
|
|
@ -39,7 +39,7 @@ void RenderableLineEntityItem::updateGeometry() {
|
|||
void RenderableLineEntityItem::render(RenderArgs* args) {
|
||||
PerformanceTimer perfTimer("RenderableLineEntityItem::render");
|
||||
Q_ASSERT(getType() == EntityTypes::Line);
|
||||
updateGeometry();
|
||||
updateGeometry();
|
||||
|
||||
Q_ASSERT(args->_batch);
|
||||
gpu::Batch& batch = *args->_batch;
|
||||
|
|
|
@ -97,7 +97,6 @@ bool QuadEntityItem::appendPoint(const glm::vec3& point) {
|
|||
return false;
|
||||
}
|
||||
_points << point;
|
||||
qDebug()<<"points: " << point;
|
||||
_pointsChanged = true;
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue