Commit 4e4b799fd6e01d077efadaae0bf97d8b281c7561

Authored by Seoyeon Kim
1 parent ef5ec53a

Replace 'frustrum' with 'frustum'

Change-Id: Ifaa81fd8f1c62e84eb0643fc79f1490d6e6e7316
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
examples/primitive-shapes/primitive-shapes-example.cpp
@@ -28,7 +28,7 @@ namespace @@ -28,7 +28,7 @@ namespace
28 { 28 {
29 DEMO_IMAGE_DIR "sphere-button.png", 29 DEMO_IMAGE_DIR "sphere-button.png",
30 DEMO_IMAGE_DIR "cone-button.png", 30 DEMO_IMAGE_DIR "cone-button.png",
31 - DEMO_IMAGE_DIR "conical-frustrum-button.png", 31 + DEMO_IMAGE_DIR "conical-frustum-button.png",
32 DEMO_IMAGE_DIR "cylinder-button.png", 32 DEMO_IMAGE_DIR "cylinder-button.png",
33 DEMO_IMAGE_DIR "cube-button.png", 33 DEMO_IMAGE_DIR "cube-button.png",
34 DEMO_IMAGE_DIR "bevelled-cube-button.png", 34 DEMO_IMAGE_DIR "bevelled-cube-button.png",
@@ -413,13 +413,13 @@ public: @@ -413,13 +413,13 @@ public:
413 mShapeTitle.SetProperty( TextLabel::Property::TEXT, SHAPE_TITLE_PREFIX + "Cone" ); 413 mShapeTitle.SetProperty( TextLabel::Property::TEXT, SHAPE_TITLE_PREFIX + "Cone" );
414 } 414 }
415 415
416 - //Sets the 3D model to a conical frustrum and modifies the sliders appropriately.  
417 - void LoadConicalFrustrum() 416 + //Sets the 3D model to a conical frustum and modifies the sliders appropriately.
  417 + void LoadConicalFrustum()
418 { 418 {
419 InitialiseSlidersAndModel(); 419 InitialiseSlidersAndModel();
420 420
421 //Set up specific visual properties. 421 //Set up specific visual properties.
422 - mVisualMap[ PrimitiveVisual::Property::SHAPE ] = PrimitiveVisual::Shape::CONICAL_FRUSTRUM; 422 + mVisualMap[ PrimitiveVisual::Property::SHAPE ] = PrimitiveVisual::Shape::CONICAL_FRUSTUM;
423 mVisualMap[ PrimitiveVisual::Property::SCALE_TOP_RADIUS ] = DEFAULT_SCALE_TOP_RADIUS; 423 mVisualMap[ PrimitiveVisual::Property::SCALE_TOP_RADIUS ] = DEFAULT_SCALE_TOP_RADIUS;
424 mVisualMap[ PrimitiveVisual::Property::SCALE_BOTTOM_RADIUS ] = DEFAULT_SCALE_BOTTOM_RADIUS; 424 mVisualMap[ PrimitiveVisual::Property::SCALE_BOTTOM_RADIUS ] = DEFAULT_SCALE_BOTTOM_RADIUS;
425 mVisualMap[ PrimitiveVisual::Property::SCALE_HEIGHT ] = DEFAULT_SCALE_HEIGHT; 425 mVisualMap[ PrimitiveVisual::Property::SCALE_HEIGHT ] = DEFAULT_SCALE_HEIGHT;
@@ -439,7 +439,7 @@ public: @@ -439,7 +439,7 @@ public:
439 mModel.SetProperty( Control::Property::BACKGROUND, Property::Value( mVisualMap ) ); 439 mModel.SetProperty( Control::Property::BACKGROUND, Property::Value( mVisualMap ) );
440 440
441 //Update title. 441 //Update title.
442 - mShapeTitle.SetProperty( TextLabel::Property::TEXT, SHAPE_TITLE_PREFIX + "Conical Frustrum" ); 442 + mShapeTitle.SetProperty( TextLabel::Property::TEXT, SHAPE_TITLE_PREFIX + "Conical Frustum" );
443 } 443 }
444 444
445 //Sets the 3D model to a cylinder and modifies the sliders appropriately. 445 //Sets the 3D model to a cylinder and modifies the sliders appropriately.
@@ -589,7 +589,7 @@ public: @@ -589,7 +589,7 @@ public:
589 } 589 }
590 case 2: 590 case 2:
591 { 591 {
592 - LoadConicalFrustrum(); 592 + LoadConicalFrustum();
593 break; 593 break;
594 } 594 }
595 case 3: 595 case 3:
resources/images/conical-frustrum-button.png renamed to resources/images/conical-frustum-button.png

3.81 KB