Develop and Download Open Source Software

Ticket #24229

Open Date: 2011-01-21 22:12

Last Update: 2012-05-29 22:39

NyARVecLinear2d#getVecCosの定義ミス

Reporter:nyatlaOwner:(None)
Priority:5 - MediumMileStone:(None)
Type:BugsSeverity:5 - Medium
Component:NyARToolkit/3.0.x [Core]Status:Closed
ResolutionNone

Details

	public final double getVecCos(NyARDoublePoint2d i_pos1,NyARDoublePoint2d i_pos2)
	{
		double d=getAbsVecCos(i_pos2.x-i_pos1.x,i_pos2.y-i_pos1.y);
		return d>=0?d:-d;
	}

で、絶対値を返している。絶対値を返す必要はない。

正しくは、

	public final double getVecCos(NyARDoublePoint2d i_pos1,NyARDoublePoint2d i_pos2)
	{
		return getVecCos(i_pos2.x-i_pos1.x,i_pos2.y-i_pos1.y);
	}

Attach File

File ListNo attachments.
Add New attachment
Add attachment filesPlease login to add new attachment

Ticket History - 3/6 Histories [Show all old Histories]

2011-01-21 22:12 Update by: nyatla

  • New Ticket "NyARVecLinear2d#getVecCosの定義ミス" created

2011-01-21 22:16 Update by: nyatla

  • Details Updated

2011-01-21 22:16 Update by: nyatla

  • Details Updated

2012-04-04 13:10 Update by: nyatla

Comment

NyARToolkit,NyARToolkitCS 4.0.0でリリース済

2012-05-27 14:07 Update by: nyatla

Comment

Java r806で修正。 4.0.0でリリース済み

2012-05-29 22:39 Update by: nyatla

  • Ticket Close date set to 2012-05-29 22:39
  • Status Update from Open to Closed.

Comment

AS 4.0.3でリリース確認。


Add Comment/Update #24229 (NyARVecLinear2d#getVecCosの定義ミス)

You are not logged in. If you do not want to anonymous write, please login. » Login


SourceForge.JP is a Japanese version of SourceForge.net. For developments that are not related to Japan, we recommend you to use SourceForge.net.