任务单 #24229

NyARVecLinear2d#getVecCosの定義ミス

开放日期: 2011-01-21 22:12 最后更新: 2012-05-29 22:39

报告人:
属主:
(无)
类型:
状态:
关闭
里程碑:
(无)
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
文件:

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);
	}

任务单历史 (3/6 Histories)

2011-01-21 22:12 Updated by: nyatla
  • New Ticket "NyARVecLinear2d#getVecCosの定義ミス" created
2011-01-21 22:16 Updated by: nyatla
  • Details Updated
2011-01-21 22:16 Updated by: nyatla
  • Details Updated
2012-04-04 13:10 Updated by: nyatla
评论

NyARToolkit,NyARToolkitCS 4.0.0でリリース済

2012-05-27 14:07 Updated by: nyatla
评论

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

2012-05-29 22:39 Updated by: nyatla
  • 状态 Update from 开启 to 关闭
  • Ticket Close date is changed to 2012-05-29 22:39
评论

AS 4.0.3でリリース確認。

Attachment File List

No attachments

编辑

Please login to add comment to this ticket » 登录名