Tickets
Issues
// TODO: factorize the 2 loops below- Id: 9b0ee52d8c626b9ca85563c11cd7c68c
- Status: Open
- Initial commit: ac21fd7b49517f8fdc8fb3573f87d2bd5de7de56
- Creation date: 2013-02-25 18:39:30
- Last changed: 2013-02-25 18:39:30
- Created by: Laurent Defert
- File: ngrapher.c
- Last changed by: Laurent Defert
// TODO: factorize the 2 loops below
i = 0;
while(1)
{
double scaling = (double)i * (-scaling_val);
int h = (int) ((scaling/(max_value - min_value)) * graph_height);
if(scaling < min_value)
History