• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

修订版e3e6681825ce94f1a4d0c4660f7bb5aefa0a0bf8 (tree)
时间2011-01-07 10:14:56
作者Mikiya Fujii <mikiya.fujii@gmai...>
CommiterMikiya Fujii

Log Message

Some comments are added.

git-svn-id: https://svn.sourceforge.jp/svnroot/molds/MolDS/trunk@43 1136aad2-a195-0410-b898-f5ea1d11b9d8

更改概述

差异

--- a/src/base/Molecule.h
+++ b/src/base/Molecule.h
@@ -339,6 +339,9 @@ void Molecule::SetInertiaTensorOrigin(double x, double y, double z){
339339
340340 }
341341
342+/****
343+ * Call this->SetInertiaTensorOrigin before calling this-function.
344+ ***/
342345 void Molecule::CalcPrincipalAxes(){
343346
344347 cout << this->messageStartPrincipalAxes;
@@ -462,6 +465,11 @@ void Molecule::SetRotatingType(RotatingType rotatingType){
462465 this->rotatingType = rotatingType;
463466 }
464467
468+/****
469+ * Call this->SetRotatingOrigin and this->SetRotatingAxis for this->rotatingType=Axis or
470+ * this->SetRotatingEularAngles for this->rotatingType=Eular before calling this-function.
471+ * In addition, this->SetRotatingType bay be needed to be called.
472+ ***/
465473 void Molecule::Rotate(){
466474
467475 cout << this->messageStartRotate;
@@ -546,6 +554,9 @@ void Molecule::SetTranslatingDifference(double x, double y, double z){
546554
547555 }
548556
557+/****
558+ * Call this->SetTranslatingDifference before calling this-function.
559+ ***/
549560 void Molecule::Translate(){
550561
551562 cout << this->messageStartTranslate;