67405c4c0181d26c57827004cf6fbdc33be7896c,holodeck/environments.py,HolodeckEnvironment,set_fog_density,#HolodeckEnvironment#Any#,280
Before Change
if density < 0 or density > 1:
raise HolodeckException("Fog density should be between 0 and 1")
self._should_write_to_command_buffer = True
command_to_send = ChangeFogDensityCommand(density)
self._commands.add_command(command_to_send)
def draw_line(self, start, end, color=(255, 0, 0), thickness=10.0):
Draws a debug line in the world
After Change
if density < 0 or density > 1:
raise HolodeckException("Fog density should be between 0 and 1")
self._enqueue_command(ChangeFogDensityCommand(density))
def draw_line(self, start, end, color=(255, 0, 0), thickness=10.0):
Draws a debug line in the world
In pattern: SUPERPATTERN
Frequency: 7
Non-data size: 6
Instances Project Name: BYU-PCCL/holodeck
Commit Name: 67405c4c0181d26c57827004cf6fbdc33be7896c
Time: 2018-12-04
Author: jaydenmilne@users.noreply.github.com
File Name: holodeck/environments.py
Class Name: HolodeckEnvironment
Method Name: set_fog_density
Project Name: BYU-PCCL/holodeck
Commit Name: 67405c4c0181d26c57827004cf6fbdc33be7896c
Time: 2018-12-04
Author: jaydenmilne@users.noreply.github.com
File Name: holodeck/environments.py
Class Name: HolodeckEnvironment
Method Name: should_render_viewport
Project Name: BYU-PCCL/holodeck
Commit Name: 67405c4c0181d26c57827004cf6fbdc33be7896c
Time: 2018-12-04
Author: jaydenmilne@users.noreply.github.com
File Name: holodeck/environments.py
Class Name: HolodeckEnvironment
Method Name: set_day_time
Project Name: BYU-PCCL/holodeck
Commit Name: 67405c4c0181d26c57827004cf6fbdc33be7896c
Time: 2018-12-04
Author: jaydenmilne@users.noreply.github.com
File Name: holodeck/environments.py
Class Name: HolodeckEnvironment
Method Name: stop_day_cycle
Project Name: BYU-PCCL/holodeck
Commit Name: 67405c4c0181d26c57827004cf6fbdc33be7896c
Time: 2018-12-04
Author: jaydenmilne@users.noreply.github.com
File Name: holodeck/environments.py
Class Name: HolodeckEnvironment
Method Name: set_weather
Project Name: BYU-PCCL/holodeck
Commit Name: 67405c4c0181d26c57827004cf6fbdc33be7896c
Time: 2018-12-04
Author: jaydenmilne@users.noreply.github.com
File Name: holodeck/environments.py
Class Name: HolodeckEnvironment
Method Name: spawn_agent
Project Name: BYU-PCCL/holodeck
Commit Name: 67405c4c0181d26c57827004cf6fbdc33be7896c
Time: 2018-12-04
Author: jaydenmilne@users.noreply.github.com
File Name: holodeck/environments.py
Class Name: HolodeckEnvironment
Method Name: teleport_camera