mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-24 22:59:24 +00:00
add normal safety
wrap safety around normal checks, this was done on the scalar math may as well do it here just in case. Ad the impl.inl files to libraries so they can actually be found.
This commit is contained in:
parent
5a6467d54a
commit
8c1acbd1da
7 changed files with 61 additions and 14 deletions
|
|
@ -142,7 +142,9 @@ function(add_math_backend name compile_defs)
|
|||
return()
|
||||
endif()
|
||||
|
||||
add_library(math_${name} OBJECT ${SRC})
|
||||
file(GLOB_RECURSE INL CONFIGURE_DEPENDS "math/impl/*.inl")
|
||||
|
||||
add_library(math_${name} OBJECT ${SRC} ${INL})
|
||||
|
||||
message(STATUS "adding math library for isa ${name}")
|
||||
target_include_directories(math_${name} PUBLIC
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue