Update header comments.

This commit is contained in:
Shaun Reed 2025-03-15 14:57:09 -04:00
parent ac87635ff7
commit 0a71bdc1c0
9 changed files with 12 additions and 14 deletions

View File

@ -2,7 +2,7 @@
## Project for working with OpenGL and Qt6 widgets ## ## Project for working with OpenGL and Qt6 widgets ##
## ## ## ##
## Author: Shaun Reed | Contact: shaunrd0@gmail.com | URL: www.shaunreed.com ## ## Author: Shaun Reed | Contact: shaunrd0@gmail.com | URL: www.shaunreed.com ##
## All Content (c) 2023 Shaun Reed, all rights reserved ## ## All Content (c) 2025 Shaun Reed, all rights reserved ##
################################################################################ ################################################################################
cmake_minimum_required(VERSION 3.23) cmake_minimum_required(VERSION 3.23)

View File

@ -2,7 +2,7 @@
## Example client project using qtk ## ## Example client project using qtk ##
## ## ## ##
## Author: Shaun Reed | Contact: shaunrd0@gmail.com | URL: www.shaunreed.com ## ## Author: Shaun Reed | Contact: shaunrd0@gmail.com | URL: www.shaunreed.com ##
## All Content (c) 2023 Shaun Reed, all rights reserved ## ## All Content (c) 2025 Shaun Reed, all rights reserved ##
################################################################################ ################################################################################
cmake_minimum_required(VERSION 3.23) cmake_minimum_required(VERSION 3.23)

View File

@ -2,7 +2,7 @@
## Project for working with OpenGL and Qt6 widgets ## ## Project for working with OpenGL and Qt6 widgets ##
## ## ## ##
## Author: Shaun Reed | Contact: shaunrd0@gmail.com | URL: www.shaunreed.com ## ## Author: Shaun Reed | Contact: shaunrd0@gmail.com | URL: www.shaunreed.com ##
## All Content (c) 2023 Shaun Reed, all rights reserved ## ## All Content (c) 2025 Shaun Reed, all rights reserved ##
################################################################################ ################################################################################
# Qtk Library # Qtk Library

View File

@ -2,7 +2,7 @@
## Project for working with OpenGL and Qt6 widgets ## ## Project for working with OpenGL and Qt6 widgets ##
## ## ## ##
## Author: Shaun Reed | Contact: shaunrd0@gmail.com | URL: www.shaunreed.com ## ## Author: Shaun Reed | Contact: shaunrd0@gmail.com | URL: www.shaunreed.com ##
## All Content (c) 2023 Shaun Reed, all rights reserved ## ## All Content (c) 2025 Shaun Reed, all rights reserved ##
################################################################################ ################################################################################
################################################################################ ################################################################################

View File

@ -11,11 +11,11 @@
#include <qtk/scene.h> #include <qtk/scene.h>
#define QTK_SPARTAN "resources/models/spartan/spartan.obj" #define QTK_SPARTAN "resources/models/spartan/spartan.obj"
#define QTK_BACKPACK "resources/models/backpack/backpack.obj" #define QTK_BACKPACK "resources/models/backpack/backpack.obj"
#define QTK_BIRD "resources/models/bird/bird.obj" #define QTK_BIRD "resources/models/bird/bird.obj"
#define QTK_ALIEN "resources/models/alien-hominid/alien.obj" #define QTK_ALIEN "resources/models/alien-hominid/alien.obj"
#define QTK_SCYTHE "resources/models/scythe/scythe.obj" #define QTK_SCYTHE "resources/models/scythe/scythe.obj"
/** /**
* Example scene using QtkWidget to render 3D models and simple geometry within * Example scene using QtkWidget to render 3D models and simple geometry within

View File

@ -2,7 +2,7 @@
## Project for working with OpenGL and Qt6 widgets ## ## Project for working with OpenGL and Qt6 widgets ##
## ## ## ##
## Author: Shaun Reed | Contact: shaunrd0@gmail.com | URL: www.shaunreed.com ## ## Author: Shaun Reed | Contact: shaunrd0@gmail.com | URL: www.shaunreed.com ##
## All Content (c) 2023 Shaun Reed, all rights reserved ## ## All Content (c) 2025 Shaun Reed, all rights reserved ##
################################################################################ ################################################################################
################################################################################ ################################################################################

View File

@ -131,9 +131,8 @@ void QtkWidget::paintGL()
void QtkWidget::setScene(Scene * scene) void QtkWidget::setScene(Scene * scene)
{ {
if (mScene != Q_NULLPTR) { delete mScene;
delete mScene;
}
mScene = scene; mScene = scene;
if (mScene != Q_NULLPTR) { if (mScene != Q_NULLPTR) {

View File

@ -267,7 +267,6 @@ namespace Qtk
} }
qDebug() << this << " Adding new QtkWidget named '" << name << "'"; qDebug() << this << " Adding new QtkWidget named '" << name << "'";
mQtkWidgets[name] = widget; mQtkWidgets[name] = widget;
return;
} }
private: private:

View File

@ -2,7 +2,7 @@
## Project for working with OpenGL and Qt6 widgets ## ## Project for working with OpenGL and Qt6 widgets ##
## ## ## ##
## Author: Shaun Reed | Contact: shaunrd0@gmail.com | URL: www.shaunreed.com ## ## Author: Shaun Reed | Contact: shaunrd0@gmail.com | URL: www.shaunreed.com ##
## All Content (c) 2023 Shaun Reed, all rights reserved ## ## All Content (c) 2025 Shaun Reed, all rights reserved ##
################################################################################ ################################################################################
################################################################################ ################################################################################