vsg-dev / VulkanSceneGraph

Vulkan & C++17 based Scene Graph Project
http://www.vulkanscenegraph.org
MIT License
1.32k stars 212 forks source link

Added copy and clone for view and projection matrix #1299

Closed rms7326 closed 1 month ago

rms7326 commented 1 month ago

Description

We were trying to clone the view and projection matrices.

Type of change

Enhancement

Please delete options that are not relevant.

How Has This Been Tested?

Without these implementations the object's clone base class simply returns a copy of the pointer. Now it performs an actual copy of the objects. Similar implementation to many many classes in VSG. I don't see any tests for cloning of other objects.

Checklist: