/*! \file rotate.cpp
** \brief Template Header
**
+** $Id$
+**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
**
SYNFIG_LAYER_SET_LOCAL_NAME(Rotate,_("Rotate"));
SYNFIG_LAYER_SET_CATEGORY(Rotate,_("Transform"));
SYNFIG_LAYER_SET_VERSION(Rotate,"0.1");
-SYNFIG_LAYER_SET_CVS_ID(Rotate,"$Id: rotate.cpp,v 1.2 2005/01/24 05:00:18 darco Exp $");
+SYNFIG_LAYER_SET_CVS_ID(Rotate,"$Id$");
/* === P R O C E D U R E S ================================================= */
{
IMPORT(origin);
- if(param=="amount" && value.same_as(amount))
+ if(param=="amount" && value.same_type_as(amount))
{
amount=value.get(amount);
sin_val=Angle::sin(amount).get();