Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/render/camera.h
| Show First 20 Lines • Show All 220 Lines • ▼ Show 20 Lines | public: | ||||
| float world_to_raster_size(float3 P); | float world_to_raster_size(float3 P); | ||||
| /* Motion blur. */ | /* Motion blur. */ | ||||
| float motion_time(int step) const; | float motion_time(int step) const; | ||||
| int motion_step(float time) const; | int motion_step(float time) const; | ||||
| bool use_motion() const; | bool use_motion() const; | ||||
| void set_screen_size_and_resolution(int width_, int height_, int resolution_); | void set_screen_size_and_resolution(int width_, int height_, int resolution_); | ||||
| int screen_width() const; | |||||
| int screen_height() const; | |||||
| int screen_resolution() const; | |||||
| private: | private: | ||||
| /* Private utility functions. */ | /* Private utility functions. */ | ||||
| float3 transform_raster_to_world(float raster_x, float raster_y); | float3 transform_raster_to_world(float raster_x, float raster_y); | ||||
| }; | }; | ||||
| CCL_NAMESPACE_END | CCL_NAMESPACE_END | ||||
| #endif /* __CAMERA_H__ */ | #endif /* __CAMERA_H__ */ | ||||