Ticket #28851

NyIdMarkerPickup#readDataBitsでException

Open Date: 2012-06-26 23:46 Last Update: 2012-06-26 23:47

Reporter:
Owner:
(None)
Type:
Status:
Open
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
None
File:
None

Details

最大値判定が間違っている。

				if(xx<0 || xx>=raster_width || yy<0 || yy>=raster_height)
				{
					ref_x[pt]=xx<0?0:(xx>=raster_width?raster_width-1:raster_width);
					ref_y[pt]=yy<0?0:(yy>=raster_height?raster_height-1:raster_height);
				}

				if(xx<0 || xx>=raster_width || yy<0 || yy>=raster_height)
				{
					ref_x[pt]=xx<0?0:(xx>=raster_width?raster_width-1:xx);
					ref_y[pt]=yy<0?0:(yy>=raster_height?raster_height-1:yy);
				}

Ticket History (2/2 Histories)

2012-06-26 23:46 Updated by: nyatla
  • New Ticket "NyIdMarkerPickup#readDataBitsでException" created
2012-06-26 23:47 Updated by: nyatla
  • Details Updated
  • Component Update from (None) to NyARToolkit/4.0.x [Core]

Attachment File List

No attachments

Edit

Please login to add comment to this ticket » Login