Interface Scalable

All Known Implementing Classes:
Camera, Point3d, PointLight, Shape3d, Triangle

public interface Scalable
This interface allows objects in 3D space to be scaled.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    scale(double size, Point3d point)
    Scales this object by a given amount from a point.
  • Method Details

    • scale

      void scale(double size, Point3d point)
      Scales this object by a given amount from a point.
      Parameters:
      size - the scale multiplier
      point - the point that this object should be scaled from