Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

4.10.1 Won't Compile DebugGame_Editor when using FOrthoMatrix

I'm getting a compiler warning in 4.10.1 when using FOrthoMatrix in a DebugGame_Editor build. Basically if I use that matrix anywhere in my code, it refuses to compile the game due to a potential divide by zero.

Development build compiles just fine, and this only started when I updated to the 4.10.1 hotfix.

alt text

Product Version: UE 4.10
matrixerror.jpg (115.0 kB)
more ▼

asked Dec 18 '15 at 12:28 AM in Bug Reports

avatar image

820 60 97 140

avatar image TheJamsh Dec 18 '15 at 12:41 AM

I can get around this by Using FMath::Max to clamp the minimum input to 1.f whenever I use this, I guess that's intended behavior?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hey TheJamsh-

You're correct that this is intended. You need to ensure that Height/Width cannot be zero or else the compiler is going to complain.


Doug Wilson

more ▼

answered Dec 18 '15 at 07:35 PM

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question