Examples of HermiteCubic


Examples of edu.cmu.cs.stage3.math.HermiteCubic

                    double dx = m_transformationBegin.m30-m_transformationEnd.m30;
                    double dy = m_transformationBegin.m31-m_transformationEnd.m31;
                    double dz = m_transformationBegin.m32-m_transformationEnd.m32;
                    double distance = Math.sqrt( dx*dx + dy*dy + dz*dz );
                    double s = distance/2;
                    m_xHermite = new HermiteCubic( m_transformationBegin.m30, m_transformationEnd.m30, m_transformationBegin.m20*s, m_transformationEnd.m20*s );
                    m_yHermite = new HermiteCubic( m_transformationBegin.m31, m_transformationEnd.m31, m_transformationBegin.m21*s, m_transformationEnd.m21*s );
                    m_zHermite = new HermiteCubic( m_transformationBegin.m32, m_transformationEnd.m32, m_transformationBegin.m22*s, m_transformationEnd.m22*s );
                }
      }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.