bevy_fast_light 0.2.2

Simple 2D lighting for Bevy focused on performance over features.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 * File: error.rs
 * Author: Leopold Johannes Meinel (leo@meinel.dev)
 * -----
 * Copyright (c) 2026 Leopold Johannes Meinel & contributors
 * SPDX ID: Apache-2.0
 * URL: https://www.apache.org/licenses/LICENSE-2.0
 */

//! Error messages.

/// Error message if [`AmbientLight2d`](crate::light::ambient_light::AmbientLight2d) has not been added to a [`Camera2d`](bevy::camera::Camera2d).
pub(crate) const ERR_AMBIENT_NO_CAMERA: &str =
    "AmbientLight2d has not been added to a Camera2d. Ensure that this is the case.";