KRTexture2D::getDimensions has been extended to a Vector3i and promoted to KRTexture::getDimensions
Some checks failed
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, clang, clang++, macos-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Has been cancelled
Some checks failed
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, clang, clang++, macos-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Has been cancelled
This commit is contained in:
@@ -127,9 +127,9 @@ KRTextureKTX::~KRTextureKTX()
|
||||
m_blocks.clear();
|
||||
}
|
||||
|
||||
Vector2i KRTextureKTX::getDimensions() const
|
||||
Vector3i KRTextureKTX::getDimensions() const
|
||||
{
|
||||
return hydra::Vector2i::Create(Vector2i::Create(m_header.pixelWidth, m_header.pixelHeight));
|
||||
return hydra::Vector3i::Create(Vector3i::Create(m_header.pixelWidth, m_header.pixelHeight, m_header.pixelDepth));
|
||||
}
|
||||
|
||||
int KRTextureKTX::getFaceCount() const
|
||||
|
||||
Reference in New Issue
Block a user