Update header comments.
This commit is contained in:
		
							parent
							
								
									ac87635ff7
								
							
						
					
					
						commit
						0a71bdc1c0
					
				@ -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)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -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)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -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
 | 
				
			||||||
 | 
				
			|||||||
@ -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                       ##
 | 
				
			||||||
################################################################################
 | 
					################################################################################
 | 
				
			||||||
 | 
					
 | 
				
			||||||
################################################################################
 | 
					################################################################################
 | 
				
			||||||
 | 
				
			|||||||
@ -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
 | 
				
			||||||
 | 
				
			|||||||
@ -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                       ##
 | 
				
			||||||
################################################################################
 | 
					################################################################################
 | 
				
			||||||
 | 
					
 | 
				
			||||||
################################################################################
 | 
					################################################################################
 | 
				
			||||||
 | 
				
			|||||||
@ -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) {
 | 
				
			||||||
 | 
				
			|||||||
@ -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:
 | 
				
			||||||
 | 
				
			|||||||
@ -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                       ##
 | 
				
			||||||
################################################################################
 | 
					################################################################################
 | 
				
			||||||
 | 
					
 | 
				
			||||||
################################################################################
 | 
					################################################################################
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user