How can I use the input I get to create a matrix?
Im trying this, but I cannot convert from char* to float.
I tried dbInt() but it didnt work.
#include "DarkSDK.h"
void DarkSDK (void)
{
char* cpFileName;
char* cpMatrixWidth;
char* cpMatrixHeight;
char* cpMatrixSegments;
char* cpMatrixTextureLocation;
char* cpMatrixTextureNumber;
dbPrint("File Name: ");
cpFileName = dbInput();
dbPrint("Matrix Height: ");
cpMatrixHeight = dbInput();
dbPrint("Matrix Width: ");
cpMatrixWidth = dbInput();
dbPrint("Matrix Segments: ");
cpMatrixSegments = dbInput();
dbPrint("Texture Location: ");
cpMatrixTextureLocation = dbInput();
dbPrint("Texture Number: ");
cpMatrixTextureNumber = dbInput();
dbMakeMatrix (1,cpMatrixWidth,cpMatrixHeight,cpMatrixSegments,cpMatrixSegments);
}