1 #ifndef __DYNAMICS_SPHERE_SHAPE_IMPL_H_
2 #define __DYNAMICS_SPHERE_SHAPE_IMPL_H_
5 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
22 #include <dali/internal/event/dynamics/dynamics-shape-impl.h>
25 #include <dali/internal/event/dynamics/dynamics-declarations.h>
36 class DynamicsSphereShape : public DynamicsShape
41 * @copydoc Dali::DynamicsShape::NewSphere
43 DynamicsSphereShape(const float radius);
48 * A reference counted object may only be deleted by calling Unreference()
50 virtual ~DynamicsSphereShape();
53 // unimplemented copy constructor and assignment operator
54 DynamicsSphereShape(const DynamicsSphereShape&);
55 DynamicsSphereShape& operator=(const DynamicsSphereShape&);
59 * Get an axis aligned bounding box for this shape
60 * @return An axis aligned bounding box for this shape
62 virtual Vector3 GetAABB() const;
63 }; // class DynamicsSphereShape
65 } // namespace Internal
69 #endif /* __DYNAMICS_SPHERE_SHAPE_IMPL_H_ */