tirbofish/dropbear · commit
839f065e523b3fde4a59fc2832cff7c069c49a5a
wip: editor is broken but new modules have been created
Signature present but could not be verified.
Unverified
@@ -0,0 +1,38614 @@ +#![feature(prelude_import)] +#[macro_use] +extern crate std; +#[prelude_import] +use std::prelude::rust_2024::*; +pub mod lighting { + use crate::pointer_convert; + use crate::scripting::native::DropbearNativeError; + use crate::scripting::result::DropbearNativeResult; + use crate::types::NVector3; + use crate::utils::convert_entity; + use dropbear_engine::entity::{EntityTransform, Transform}; + use dropbear_engine::lighting::{LightComponent, LightType}; + use glam::{DQuat, DVec3}; + use hecs::World; + pub struct NLightColour { + pub r: u8, + pub g: u8, + pub b: u8, + pub a: u8, + } + #[automatically_derived] + #[doc(hidden)] + unsafe impl ::core::clone::TrivialClone for NLightColour {} + #[automatically_derived] + impl ::core::clone::Clone for NLightColour { + #[inline] + fn clone(&self) -> NLightColour { + let _: ::core::clone::AssertParamIsClone<u8>; + *self + } + } + #[automatically_derived] + impl ::core::marker::Copy for NLightColour {} + #[automatically_derived] + impl ::core::fmt::Debug for NLightColour { + #[inline] + fn fmt(&self, f: &mut ::core::fmt::Formatter) -> ::core::fmt::Result { + ::core::fmt::Formatter::debug_struct_field4_finish( + f, + "NLightColour", + "r", + &self.r, + "g",
Large diffs are not rendered by default. Showing the first 50 of 43560 lines. Show full diff