I could really really use some help on making my model loader faster, it is loading .obj file format. There area where it is slow is converting the mesh data to opengl VBO data. so it looks for duplicate vertex,normal and uv data and creates indices as appropriatly.
a model with 570 faces loads...
I am attempting to create a timer using the CPU ticks the, the real problem is this is an abstract class And i dont know how the authurs TIMER works but it returns a float.
I have then created a timer counter, that track the time since the function was last called. The problem is it never...
I'm very lost in the fact that acos is returning ?-1.#IND000
What i am trying to calculate is a angle from two vectors.
now my
"float dot" is a negative number so my assumtion is "that must be why it is returing dived by zero".
//Get the Tanks current Location
Vector2D Alien = Vector2D()...
Hi I am trying to code a image transition using copyRECT with no success.
currently what is happening is a small junk of the old/current image is copied on to the new image and then just stays as the slide show continues.
here is so code i have attempting to wipe the image in from the left...
I am building a visual guild to path finding, i am trying to use MS visual c++ so i have a bunch of label on my form and i will read in a txt file that will be a ascii art type map.
like so
xxxxxxxxxx
x00000000x
x00000000x
x00000000x
xxxxxxxxxx
so in my program i read the file assign the...
DRJ478: the error doesn't happen on any line persay, the error i get is the mysql. but the function that is called that doesn't finish is 'populate', but before calling populate i call a function selectlist, that goes to the same database but different table, and the code work fine until...
I have a weird problem with my php page, I have three or so functions that call the database. two of the functions run and on the third I have output if an error occurred with the database. stating "No database selected"
<?php
session_start();
//redirect the user if they are not admin...
ah no It was my database entries, there was orignal 52 rows, but then i changed most of the categories so what must have happen origanally was when i copied and paste the insert staetments over again.
ah yeah it is as the function is called twice, or the output is outputted twice.
function and call to the database
function selectList()
{
require_once('conn.php');
$errors[] = array();
$selout = "<select name=\"ps_category\">\n";
$query = "SELECT * FROM category;";
$result...
sleipnir214, Thanks for the answers but just a follow up.
*well I read the manual of php link you posted and it said to use mysql_affected_rows() for statements that modify the tables.
as for how do i know its not double I ran a select * from the table and it returns just 1 list equaling 52 rows
I am fairley new to php and mysql so my first project I decide to make the ever infamous web blog. I have experience with MS SQL and ASP.net.
At the moment I am having two problems, that I cannot figure out for the life of me. The first is with a function I have created, it is called in the...
Hi, i would like to share my internet through my airport card with my nintendo ds. I have no idea if it would work but seeing as it is a option to share your internet connection through your airport card.
I made an attempt at this but the problem i discovered was the airport doen't give an ip...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.